United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7109063 JSR 292: fix for 7085860 is incomplete
7109063 : JSR 292: fix for 7085860 is incomplete

Details
Type:
Bug
Submit Date:
2011-11-07
Status:
Resolved
Updated Date:
2012-10-01
Project Name:
JDK
Resolved Date:
2012-01-31
Component:
core-libs
OS:
generic
Sub-Component:
java.lang.invoke
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs23,7
Fixed Versions:
8

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

Description
The hs23-b05 control build failed on all platforms:

../../../src/share/classes/java/lang/invoke/MethodHandleImpl.java:940: error: cannot find symbol
       MethodHandleNatives.registerBootstrap(callerClass, bootstrapMethod);
                          ^
 symbol:   method registerBootstrap(Class<CAP#1>,MethodHandle)
 location: class MethodHandleNatives
 where CAP#1 is a fresh type-variable:
   CAP#1 extends Object from capture of ?
../../../src/share/classes/java/lang/invoke/MethodHandleImpl.java:943: error: cannot find symbol
       return MethodHandleNatives.getBootstrap(callerClass);
                                 ^
 symbol:   method getBootstrap(Class<CAP#1>)
 location: class MethodHandleNatives
 where CAP#1 is a fresh type-variable:
   CAP#1 extends Object from capture of ?


A copy of the jprt archive is here:

http://mykonos.us.oracle.com/hs/hs23/hs23-b05/2011-11-04-211355.jcoomes.hs23-b05-jdk8-control/

The jdk part of the fix for 7085860 removed those methods.  Obviously, I
can't integrate this jdk change into jdk8.

                                    

Comments
SUGGESTED FIX

Remove the unused methods and fix the test case.
                                     
2011-11-07
EVALUATION

yes
                                     
2011-11-07



Hardware and Software, Engineered to Work Together