RFR: 8186459: [JVMCI] ClassNotFoundException thrown by CompilerToVM.lookupType() should be converted to a LinkageError

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Aug 18 21:58:00 UTC 2017


On 8/18/17 2:49 PM, Doug Simon wrote:
> It seems easier to do the exception handling in Java and I'm not sure I see a disadvantage to doing it there?

:) I am C++ guy.

Okay.

Thanks,
Vladimir

> 
> -Doug
> 
>> On 18 Aug 2017, at 23:41, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
>>
>> Should you change C++ part of JVMCI instead and check PENDING_EXCEPTION like next?
>>
>> http://hg.openjdk.java.net/jdk10/hs/hotspot/file/c8607c55bfda/src/share/vm/oops/method.cpp#l1573
>>
>> or call SystemDictionary::resolve_or_fail() instead of resolve_or_null()?:
>>
>> http://hg.openjdk.java.net/jdk10/hs/hotspot/file/c8607c55bfda/src/share/vm/classfile/systemDictionary.cpp#l191
>>
>> Thanks,
>> Vladimir
>>
>> On 8/18/17 1:32 PM, Doug Simon wrote:
>>> https://bugs.openjdk.java.net/browse/JDK-8186459
>>> http://cr.openjdk.java.net/~dnsimon/8186459/
>>> -Doug
> 


More information about the hotspot-compiler-dev mailing list