avoiding IllegalAccessorError when running optimized programs with non-optimized libraries

11 views
Skip to first unread message

Miguel Garcia

unread,
Jun 4, 2012, 8:32:17 AM6/4/12
to scala-i...@googlegroups.com

I'm trying to fix SI-5442 to allow (ideally) mixing optimized and unoptimized libraries.

When inlining cross-library, ICodeReader regards fields as public based solely on the bytecode-level flags. However ICodeReader also uses an unpickler, and thus the question: could we grab from the pickled info the originally declared, Scala-level, accessibility of those fields? Is the pickled info available by the time fields are unparsed from the class file?

Miguel
http://lampwww.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/


Reply all
Reply to author
Forward
0 new messages