JDK-8081012 : vm/mlvm/cp/stress/classfmt/incorrectBootstrap fails with IllegalAccessError: no such method: Dummy.bootstrapInstance
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-25
  • Updated: 2015-06-05
  • Resolved: 2015-06-05
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 8 JDK 9
8u60Resolved 9Fixed
Related Reports
Relates :  
Description
[2015-05-23T11:06:41.17] # ERROR: Test caught an exception: 
[2015-05-23T11:06:41.17] # ERROR: java.lang.BootstrapMethodError: java.lang.IllegalAccessError: no such method: Dummy.bootstrapInstance(Lookup,String,MethodType)CallSite/invokeInterface
[2015-05-23T11:06:41.17] # ERROR: 	at Dummy.test00(Unknown Source)
[2015-05-23T11:06:41.17] # ERROR: 	at Dummy.main(Unknown Source)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:625)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:647)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.ClassfileGeneratorTest.run(ClassfileGeneratorTest.java:66)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:361)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:305)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:222)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:164)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:135)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:312)
[2015-05-23T11:06:41.17] # ERROR: 	at vm.mlvm.share.ClassfileGeneratorTest.main(ClassfileGeneratorTest.java:72)
[2015-05-23T11:06:41.17] # ERROR: Caused by: java.lang.IllegalAccessError: no such method: Dummy.bootstrapInstance(Lookup,String,MethodType)CallSite/invokeInterface
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:424)
[2015-05-23T11:06:41.17] # ERROR: 	... 12 more
[2015-05-23T11:06:41.17] # ERROR: Caused by: java.lang.IncompatibleClassChangeError: Found class Dummy, but interface was expected
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1390)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1746)
[2015-05-23T11:06:41.17] # ERROR: 	at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:418)
[2015-05-23T11:06:41.17] # ERROR: 	... 12 more