Open Geker opened 8 months ago
We are going to need a lot more details before we can help you with that.
We are going to need a lot more details before we can help you with that.
the error occur in the phase of "Optimizing the exploded image"
Compiling up to 3 files for BUILD_DEMO_CodePointIM
Updating support/demos/image/jfc/CodePointIM/src.zip
Compiling up to 3 files for BUILD_DEMO_FileChooserDemo
Updating support/demos/image/jfc/FileChooserDemo/src.zip
Compiling up to 2 files for CLASSLIST_JAR
Creating support/classlist.jar
ERROR: Failed to generate link optimization data. This is likely a problem with the newly built JVM/JDK.
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L_L (success)
[SPECIES_RESOLVE] java.lang.invoke.SimpleMethodHandle (salvaged)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L3_L (success)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_L (salvaged)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L4_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder getReference LL_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial LL_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder reinvoke_L L_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L3_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder invokeExact_MT L3_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L7_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LL_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L8_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder invokeExact_MT L8_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder newInvokeSpecial L_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder invokeExact_MT LL_L (success)
[LF_RESOLVE] java.lang.invoke.LambdaForm$Holder identity_L LL_L (success)
[LF_RESOLVE] java.lang.invoke.LambdaForm$Holder zero_L L_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder linkToTargetMethod L_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L3_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder newInvokeSpecial LL_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder linkToTargetMethod LL_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeVirtual LL_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeInterface L3_I (fail)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LL_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial LL_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L4_V (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder newInvokeSpecial L3_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L4_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder linkToTargetMethod L3_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStaticInit LL_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L5_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStaticInit L5_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L6_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder delegate L5_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder invokeExact_MT L6_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LI_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStaticInit LI_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LII_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L6_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStaticInit L6_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStaticInit L7_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder delegate L7_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L9_L (success)
[LF_RESOLVE] java.lang.invoke.Invokers$Holder invoke_MT L9_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder reinvoke_L L7_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LLI_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L3I_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder reinvoke_L LLI_L (success)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_LL (salvaged)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder reinvoke_L L3_L (success)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_LLL (salvaged)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L6_L (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder delegate LLI_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic LLIL_V (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L3IL_V (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder delegate LLIL_V (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial L3_I (success)
[LF_RESOLVE] java.lang.invoke.DelegatingMethodHandle$Holder delegate LL_I (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeSpecial LLI_L (success)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_LLLL (salvaged)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_LLLLL (salvaged)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L8_L (success)
[LF_RESOLVE] java.lang.invoke.LambdaForm$Holder identity_I LI_I (success)
[LF_RESOLVE] java.lang.invoke.LambdaForm$Holder zero_I L_I (success)
[SPECIES_RESOLVE] java.lang.invoke.BoundMethodHandle$Species_I (salvaged)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder invokeStatic L3I_L (success)
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder getInt LL_I (success)
Error occurred during initialization of boot layer
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: symbolic reference class is not accessible: class java.lang.Class, from public Lookup
gmake[3]: *** [GenerateLinkOptData.gmk:71: /Users/songqingqing/work/dev_projects/githubs/jetBrainsRuntime/build/macosx-x86_64-server-release/support/link_opt/classlist] Error 1
gmake[2]: *** [make/Main.gmk:650: generate-link-opt-data] Error 2
gmake[2]: *** Waiting for unfinished jobs....
Compiling up to 29 files for BUILD_DEMO_SwingSet2
Updating support/demos/image/jfc/SwingSet2/src.zip
Compiling up to 3 files for BUILD_DEMO_Font2DTest
Updating support/demos/image/jfc/Font2DTest/src.zip
Compiling up to 64 files for BUILD_DEMO_J2Ddemo
Updating support/demos/image/jfc/J2Ddemo/src.zip
Compiling up to 15 files for BUILD_DEMO_Metalworks
Updating support/demos/image/jfc/Metalworks/src.zip
Compiling up to 2 files for BUILD_DEMO_Notepad
Updating support/demos/image/jfc/Notepad/src.zip
Compiling up to 5 files for BUILD_DEMO_Stylepad
Updating support/demos/image/jfc/Stylepad/src.zip
Compiling up to 5 files for BUILD_DEMO_SampleTree
Updating support/demos/image/jfc/SampleTree/src.zip
Compiling up to 8 files for BUILD_DEMO_TableExample
Updating support/demos/image/jfc/TableExample/src.zip
Compiling up to 1 files for BUILD_DEMO_TransparentRuler
Updating support/demos/image/jfc/TransparentRuler/src.zip
Creating support/demos/image/jfc/CodePointIM/CodePointIM.jar
Creating support/demos/image/jfc/FileChooserDemo/FileChooserDemo.jar
Creating support/demos/image/jfc/Metalworks/Metalworks.jar
Creating support/demos/image/jfc/Notepad/Notepad.jar
Creating support/demos/image/jfc/Stylepad/Stylepad.jar
Creating support/demos/image/jfc/SampleTree/SampleTree.jar
Creating support/demos/image/jfc/Font2DTest/Font2DTest.jar
Creating support/demos/image/jfc/TableExample/TableExample.jar
Creating support/demos/image/jfc/TransparentRuler/TransparentRuler.jar
Creating support/demos/image/jfc/SwingSet2/SwingSet2.jar
Creating support/demos/image/jfc/J2Ddemo/J2Ddemo.jar
ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-release' (exit code 2)
Stopping javac server
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [main] Error 2
make: *** [images] Error 2
error message :
[LF_RESOLVE] java.lang.invoke.DirectMethodHandle$Holder getInt LL_I (success) Error occurred during initialization of boot layer java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: symbolic reference class is not accessible: class java.lang.Class, from public Lookup gmake[3]: [GenerateLinkOptData.gmk:71: /Users/songqingqing/work/dev_projects/githubs/jetBrainsRuntime/build/macosx-x86_64-server-release/support/link_opt/classlist] Error 1 gmake[2]: [make/Main.gmk:650: generate-link-opt-data] Error 2
ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-server-release' (exit code 2)
No indication of failed target found.