- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    20
- 
        b08
- 
        Verified
                    Consider this:
var t = MethodTypeDesc.of(ClassDesc.of("DoesNotExist"));
t.resolveConstantDesc(MethodHandles.lookup());
ConstantDesc.resolveConstantDesc specifies that a checked ReflectiveOperationException is thrown if a class cannot be resolved, yet MethodTypeDesc.resolveConstantDesc throws an unchecked TypeNotPresentException.
var t = MethodTypeDesc.of(ClassDesc.of("DoesNotExist"));
t.resolveConstantDesc(MethodHandles.lookup());
ConstantDesc.resolveConstantDesc specifies that a checked ReflectiveOperationException is thrown if a class cannot be resolved, yet MethodTypeDesc.resolveConstantDesc throws an unchecked TypeNotPresentException.
- blocks
- 
                    JDK-8304928 Optimize ClassDesc.resolveConstantDesc -           
- Resolved
 
-         
- csr for
- 
                    JDK-8335554 MethodTypeDesc throws an unchecked exception than ReflectiveOperationException when a component class cannot be resolved -           
- Closed
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk/96e4a187 Commit(master)
        openjdk/jdk/96e4a187
- 
                     Review(master)
        openjdk/jdk/19991 Review(master)
        openjdk/jdk/19991