JDK-8163814 : JDK build has been failing after 8163373
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-08-10
  • Updated: 2016-08-22
  • Resolved: 2016-08-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b132Fixed
Related Reports
Duplicate :  
Relates :  
Description
The build fails with the following error:

Building target 'images' in configuration 'linux-x86_64-normal-server-release'
Building JVM variant 'server' with features 'all-gcs cds closed-src commercial-features compiler1 compiler2 fprof jni-check jvmci jvmti management nmt services trace vm-structs'
Compiling 2877 files for java.base
/home/artem/ws/jdk/jdk9_dev_stapling_test/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java:1738: error: cannot find symbol
                return GenerateJLIClassesHelper
                       ^
  symbol: variable GenerateJLIClassesHelper
/home/artem/ws/jdk/jdk9_dev_stapling_test/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java:1745: error: cannot find symbol
                return GenerateJLIClassesHelper
                       ^
  symbol: variable GenerateJLIClassesHelper
2 errors
CompileJavaModules.gmk:495: recipe for target '/home/artem/ws/jdk/jdk9_dev_stapling_test/build/linux-x86_64-normal-server-release/jdk/modules/java.base/_the.java.base_batch' failed
make[3]: *** [/home/artem/ws/jdk/jdk9_dev_stapling_test/build/linux-x86_64-normal-server-release/jdk/modules/java.base/_the.java.base_batch] Error 1
make/Main.gmk:193: recipe for target 'java.base-java' failed
make[2]: *** [java.base-java] Error 1

ERROR: Build failed for target 'images' in configuration 'linux-x86_64-normal-server-release' (exit code 2) 
=== Output from failing command(s) repeated here ===
* For target jdk_modules_java.base__the.java.base_batch:
/home/artem/ws/jdk/jdk9_dev_stapling_test/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java:1738: error: cannot find symbol
                return GenerateJLIClassesHelper
                       ^
  symbol: variable GenerateJLIClassesHelper
/home/artem/ws/jdk/jdk9_dev_stapling_test/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java:1745: error: cannot find symbol
                return GenerateJLIClassesHelper
                       ^
  symbol: variable GenerateJLIClassesHelper
2 errors
=== End of repeated output ===
=== Make failure sequence repeated here ===
CompileJavaModules.gmk:495: recipe for target '/home/artem/ws/jdk/jdk9_dev_stapling_test/build/linux-x86_64-normal-server-release/jdk/modules/java.base/_the.java.base_batch' failed
make/Main.gmk:193: recipe for target 'java.base-java' 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.

/home/artem/ws/jdk/jdk9_dev_stapling_test/make/Init.gmk:286: recipe for target 'main' failed
make[1]: *** [main] Error 1
/home/artem/ws/jdk/jdk9_dev_stapling_test/make/Init.gmk:185: recipe for target 'images' failed
make: *** [images] Error 2


This seems to be caused by JDK-8163373
Comments
Claes, Could you please take a look?
10-08-2016