SecurityException
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Feb 15 02:23:21 PST 2010
On 02/12/10 10:00 PM, Manjiri Namjoshi wrote:
> Hello,
>
> I am trying to run hotspot on the annotated specjvm2008
> classfiles. I am using SOOT framework to annotate the classfiles.
> My question is regarding the compiler.compiler benchmark :
> After running soot, it generates some classes in the
> com.sun.tools.javac.util package. So these annotated classes are now
> present in the directory from which I run the specjvm2008 benchmarks.
> Also, not all the classes in the mentioned package are transformed by SOOT.
> I get SecurityException : class
> "com.sun.tools.javac.util.JavacFileManager$Archive"'s signer
> information does not match signer information of other classes in the
> same package
>
> But, if I specify -Xbootclasspath/p:.:$CLASSPATH (i.e. prepend current
> dir and $CLASSPATH to Xbootclasspath) and $CLASSPATH contains
> javac.jar, then the benchmark runs fine.
>
> So, my question is are the classes is com.sun.tools.javac loaded as
> library classes ? Or, are they a part of application classes ?
Well, I guess you could find out yourself by querying the ClassLoader of
the class.
-- Christian
More information about the hotspot-dev
mailing list