harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6288) Javac Crash when processing option -1.6/-6 -source 1.6
Date Sun, 02 Aug 2009 14:11:14 GMT
Javac Crash when processing option -1.6/-6 -source 1.6
------------------------------------------------------

                 Key: HARMONY-6288
                 URL: https://issues.apache.org/jira/browse/HARMONY-6288
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: javac -version
Eclipse Java Compiler 0.894_R34x, 3.4.2 release, Copyright IBM Corp 2000, 2008.
All rights reserved.

WinXP/SP3
            Reporter: Sebb


Create a dummy class, e.g.

class Dummy{
}

Compile it with different options:

{code}
C:\harmonybugs>javac -5 Dummy.java

C:\harmonybugs>javac -6 Dummy.java
java.lang.reflect.InvocationTargetException
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        at java.lang.reflect.Method.invoke(Method.java:317)
        at org.apache.harmony.tools.javac.Compiler.main(Compiler.java:60)
        at org.apache.harmony.tools.javac.Main.compile(Main.java:84)
        at org.apache.harmony.tools.javac.Main.compile(Main.java:58)
        at org.apache.harmony.tools.javac.Main.main(Main.java:38)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/processing/ProcessingEnvironment
        at java.lang.ClassLoader.defineClass0(ClassLoader.java)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:367)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110)
        at java.net.URLClassLoader.access$3(URLClassLoader.java:1)
        at java.net.URLClassLoader$URLJarHandler.createClass(URLClassLoader.java:440)
        at java.net.URLClassLoader$URLJarHandler.findClass(URLClassLoader.java:371)
        at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1216)
        at java.net.URLClassLoader$4.run(URLClassLoader.java:901)
        at java.net.URLClassLoader$4.run(URLClassLoader.java:1)
        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
        at java.security.AccessController.doPrivileged(AccessController.java:64)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:903)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.VMClassRegistry.initializeClass(VMClassRegistry.java)
        at java.lang.Class.forName(Class.java:147)
        at java.lang.Class.forName(Class.java:90)
        at org.eclipse.jdt.internal.compiler.batch.Main.initializeAnnotationProcessorManager(Main.java:3421)
        at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3528)
        at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1645)
        at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
        ... 5 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.processing.ProcessingEnvironment
        at java.net.URLClassLoader.findClass(URLClassLoader.java:907)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at java.lang.ClassLoader.defineClass0(ClassLoader.java)
        ... 26 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message