-
Bug
-
Resolution: Fixed
-
P3
-
9
-
None
-
b85
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142120 | emb-9 | Erik Joelsson | P3 | Resolved | Fixed | team |
The bootcycle-images build fails with:
---
Compiling 12 files for jdk.zipfs
Compiling 13 files for java.prefs
Compiling 3 files for java.transaction
Compiling 192 files for java.naming
Warning: generation and use of skeletons and static stubs for JRMP
is deprecated. Skeletons are unnecessary, and static stubs have
been superseded by dynamically generated stubs. Users are
encouraged to migrate away from using rmic to generate skeletons and static
stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
error: An error has occurred in the compiler; please file a bug report (http://bugreport.java.com/bugreport/).
java.lang.NoClassDefFoundError: com/sun/corba/se/impl/util/Utility
at sun.rmi.rmic.RMIGenerator.sourceFileForClass(RMIGenerator.java:205)
at sun.rmi.rmic.RMIGenerator.<init>(RMIGenerator.java:286)
at sun.rmi.rmic.RMIGenerator.generate(RMIGenerator.java:124)
at sun.rmi.rmic.Main.doCompile(Main.java:555)
at sun.rmi.rmic.Main.compile(Main.java:173)
at sun.rmi.rmic.Main.main(Main.java:795)
1 error
Rmic-java.rmi.gmk:43: recipe for target '/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated' failed
make[4]: *** [/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated] Error 1
make[3]: *** [java.rmi-rmic] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Main.gmk:158: recipe for target 'java.rmi-rmic' failed
Compiling 111 files for BUILD_NASGEN
Running nasgen
Creating version.properties
All done.
warning: [options] bootstrap class path not set in conjunction with -source 1.8
1 warning
Generating linux_amd64_docs/jvmti.html
make/Main.gmk:222: recipe for target 'bootcycle-images' failed
make[2]: *** [bootcycle-images] Error 2
ERROR: Build failed for target 'bootcycle-images' in configuration 'linux-x86_64-normal-server-release' (exit code 2)
=== Make failure sequence repeated here ===
Rmic-java.rmi.gmk:43: recipe for target '/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated' failed
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Main.gmk:158: recipe for target 'java.rmi-rmic' failed
make/Main.gmk:222: recipe for target 'bootcycle-images' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Init.gmk:276: recipe for target 'main' failed
make[1]: *** [main] Error 1
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Init.gmk:180: recipe for target 'bootcycle-images' failed
make: *** [bootcycle-images] Error 2
---
This seems to be related toJDK-8137088:
http://hg.openjdk.java.net/jdk9/dev/rev/adc5d60c2f5c
---
Compiling 12 files for jdk.zipfs
Compiling 13 files for java.prefs
Compiling 3 files for java.transaction
Compiling 192 files for java.naming
Warning: generation and use of skeletons and static stubs for JRMP
is deprecated. Skeletons are unnecessary, and static stubs have
been superseded by dynamically generated stubs. Users are
encouraged to migrate away from using rmic to generate skeletons and static
stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
error: An error has occurred in the compiler; please file a bug report (http://bugreport.java.com/bugreport/).
java.lang.NoClassDefFoundError: com/sun/corba/se/impl/util/Utility
at sun.rmi.rmic.RMIGenerator.sourceFileForClass(RMIGenerator.java:205)
at sun.rmi.rmic.RMIGenerator.<init>(RMIGenerator.java:286)
at sun.rmi.rmic.RMIGenerator.generate(RMIGenerator.java:124)
at sun.rmi.rmic.Main.doCompile(Main.java:555)
at sun.rmi.rmic.Main.compile(Main.java:173)
at sun.rmi.rmic.Main.main(Main.java:795)
1 error
Rmic-java.rmi.gmk:43: recipe for target '/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated' failed
make[4]: *** [/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated] Error 1
make[3]: *** [java.rmi-rmic] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Main.gmk:158: recipe for target 'java.rmi-rmic' failed
Compiling 111 files for BUILD_NASGEN
Running nasgen
Creating version.properties
All done.
warning: [options] bootstrap class path not set in conjunction with -source 1.8
1 warning
Generating linux_amd64_docs/jvmti.html
make/Main.gmk:222: recipe for target 'bootcycle-images' failed
make[2]: *** [bootcycle-images] Error 2
ERROR: Build failed for target 'bootcycle-images' in configuration 'linux-x86_64-normal-server-release' (exit code 2)
=== Make failure sequence repeated here ===
Rmic-java.rmi.gmk:43: recipe for target '/usr/local/home/lahvac/src/jdk/tl.precommit/build/linux-x86_64-normal-server-release/bootcycle-build/jdk/modules/java.rmi/_the.RMI_11_rmic.generated' failed
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Main.gmk:158: recipe for target 'java.rmi-rmic' failed
make/Main.gmk:222: recipe for target 'bootcycle-images' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Init.gmk:276: recipe for target 'main' failed
make[1]: *** [main] Error 1
/usr/local/home/lahvac/src/jdk/tl.precommit/make/Init.gmk:180: recipe for target 'bootcycle-images' failed
make: *** [bootcycle-images] Error 2
---
This seems to be related to
http://hg.openjdk.java.net/jdk9/dev/rev/adc5d60c2f5c
- backported by
-
JDK-8142120 bootcycle-images build fails
-
- Resolved
-
- relates to
-
JDK-8137088 Drop building of interim_java.corba
-
- Resolved
-