JDK-8024438 : JSR 292 API specification maintenance for JDK 8
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-09-08
  • Updated: 2017-05-17
  • Resolved: 2013-10-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
8 b112Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Some specification updates to the JSR 292 APIs are requested by the JSR 292 EG for JDK 8.

Items:
- adjust alignment between access checks for CONSTANT_MethodHandle and Lookup.find* API calls
- add wildcard to raw type in parameter to unreflectConstructor
- clarify @CallerSensitive interactions (amended since JDK-7165628)
- clarify wording regarding bytecode behavior and access checking
- other minor edits:  use {@code ...} inside <blockquote><pre> tags, etc.

More details:
 
 
- add wildcard to raw type in parameter to unreflectConstructor
The raw type "Constructor" was accidentally included in the original JSR 292 API.
 
 
- clarify wording regarding bytecode behavior and access checking
 
Numerous statements about the accessibility checks and bytecode
behaviors should be clarified.  No behavioral changes are needed.
 

This bug can also be used for tracking some additional maintenance items:
- JDK-8025112    spec updates for security manager and caller sensitivity
- JDK-8019417    clarify behavior near arity limits
- JDK-8001109    specify errors that can occur during spreader invocation
- JDK-8001108    clarify that an attempt to use "<init>" as a method name elicits NoSuchMethodException
- JDK-8024599    adjust alignment of class initialiation behavior between method handles and bytecode behavior, for constructors and static members
- JDK-8001110    method handles should have a collectArguments transform, generalizing asCollector