From http://java.net/jira/browse/MACOSX_PORT-493 --
Test suite: JCK 7 compiler
JDK version:
openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b210)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
Following tests failed during JDK 7 Mac port b210 testing:
api/javax_annotation/processing/Filer/index.html#CCF1
api/javax_annotation/processing/Filer/index.html#CCF2
api/javax_annotation/processing/Filer/index.html#CCF3
Tests failed with following messages (also see jtr-files in attachment).
api/javax_annotation/processing/Filer/index.html#CCF1:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF1.test(CCF1.java:21)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
api/javax_annotation/processing/Filer/index.html#CCF2:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF2.test(CCF2.java:42)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
Note: Throwable was thrown: java.lang.ClassNotFoundException: CCF_pack1.CCF_pack2.CCF_pack3.MyClass_CCF_CCF2
Note: at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
Note: at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
Note: at java.security.AccessController.doPrivileged(Native Method)
Note: at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
Note: at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
Note: at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF2.testOver(CCF2.java:51)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$200(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.runContributingProcs(JavacProcessingEnvironment.java:644)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1027)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1185)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.ClassNotFoundException: CCF_pack1.CCF_pack2.CCF_pack3.MyClass_CCF_CCF2
api/javax_annotation/processing/Filer/index.html#CCF3:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF3.test(CCF3.java:20)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
Steps to reproduce (for api/javax_annotation/processing/Filer/index.html#CCF1 test):
1. Install JDK to /tmp/test/jdk1.7.0
2. install JCK 7 compiler test suite to /export/JCK/JCK-compiler-7
3. Create directory /tmp/test/classes
3. Create directories /tmp/test/api/javax_annotation/processing/Filer
4. Run the following command:
/tmp/test/jdk1.7.0/Home/bin/javac -classpath /tmp/test/classes:/export/JCK/JCK-compiler-7/classes:/export/JCK/JCK-compiler-7/lib/javatest.jar -d /tmp/test/classes -processor javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF1 -AjckTestWorkDir=file:/tmp/test/api/javax_annotation/processing/Filer/ -AjckApArgs=-testName+index_CCF1 -s /tmp/test/api/javax_annotation/processing/Filer /export/JCK/JCK-compiler-7/tests/api/javax_annotation/processing/Filer/S_CCF1.java
Tests fail with JDK 7 Mac port b211.
Tests pass with JDK 7 Mac port b209.
Test suite: JCK 7 compiler
JDK version:
openjdk version "1.7.0-ea"
OpenJDK Runtime Environment (build 1.7.0-ea-b210)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
Following tests failed during JDK 7 Mac port b210 testing:
api/javax_annotation/processing/Filer/index.html#CCF1
api/javax_annotation/processing/Filer/index.html#CCF2
api/javax_annotation/processing/Filer/index.html#CCF3
Tests failed with following messages (also see jtr-files in attachment).
api/javax_annotation/processing/Filer/index.html#CCF1:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF1.test(CCF1.java:21)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
api/javax_annotation/processing/Filer/index.html#CCF2:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF2.test(CCF2.java:42)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
Note: Throwable was thrown: java.lang.ClassNotFoundException: CCF_pack1.CCF_pack2.CCF_pack3.MyClass_CCF_CCF2
Note: at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
Note: at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
Note: at java.security.AccessController.doPrivileged(Native Method)
Note: at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
Note: at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
Note: at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF2.testOver(CCF2.java:51)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$200(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.runContributingProcs(JavacProcessingEnvironment.java:644)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1027)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1185)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.ClassNotFoundException: CCF_pack1.CCF_pack2.CCF_pack3.MyClass_CCF_CCF2
api/javax_annotation/processing/Filer/index.html#CCF3:
Note: Throwable was thrown: java.lang.NullPointerException
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.compileSource(CCFCommon.java:84)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCFCommon.createClassFile(CCFCommon.java:51)
Note: at javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF3.test(CCF3.java:20)
Note: at javasoft.sqe.jck.lib.javax.annotation.processing.ProcessorTest.process(ProcessorTest.java:142)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
Note: at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
Note: at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1106)
Note: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:417)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:331)
Note: at com.sun.tools.javac.main.Main.compile(Main.java:322)
Note: at com.sun.tools.javac.Main.compile(Main.java:76)
Note: at com.sun.tools.javac.Main.main(Main.java:61)
Note: Test status: STATUS:Failed. Unexpected java.lang.NullPointerException
Steps to reproduce (for api/javax_annotation/processing/Filer/index.html#CCF1 test):
1. Install JDK to /tmp/test/jdk1.7.0
2. install JCK 7 compiler test suite to /export/JCK/JCK-compiler-7
3. Create directory /tmp/test/classes
3. Create directories /tmp/test/api/javax_annotation/processing/Filer
4. Run the following command:
/tmp/test/jdk1.7.0/Home/bin/javac -classpath /tmp/test/classes:/export/JCK/JCK-compiler-7/classes:/export/JCK/JCK-compiler-7/lib/javatest.jar -d /tmp/test/classes -processor javasoft.sqe.tests.api.javax.annotation.processing.Filer.CCF1 -AjckTestWorkDir=file:/tmp/test/api/javax_annotation/processing/Filer/ -AjckApArgs=-testName+index_CCF1 -s /tmp/test/api/javax_annotation/processing/Filer /export/JCK/JCK-compiler-7/tests/api/javax_annotation/processing/Filer/S_CCF1.java
Tests fail with JDK 7 Mac port b211.
Tests pass with JDK 7 Mac port b209.