[foreign] RFR: NoSuchMethodException when symbol not in library
Henry Jen
henry.jen at oracle.com
Mon Jun 4 03:13:44 UTC 2018
I can remove that. IntelliJ tends to do that reordering, is there a way to ask IntelliJ do alphabetical order for all and not have internal ones first?
Cheers,
Henry
> On Jun 3, 2018, at 7:32 PM, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
>
> Looks good.
>
> * import order change in j.l.ClassLoader. Is that needed? The existing one is alphabetical btw.
>
> -Sundar
>
> On 02/06/18, 9:29 AM, Henry Jen wrote:
>> Hi,
>>
>> Please review the webrev[1] fixes following,
>>
>> - When a class has declaration of method that doesn’t exist in the library, current implementation will crash the VM by calling into address 0x0. Such scenario should have caused NoSuchMethodException in the Library::lookup. The patch fix this and added a test case.
>>
>> - A test case where the interface has a method not in declaration, this should not happen with jextract. Just added to make sure nothing bad such as crash VM can happen.
>>
>> - Fix when return type is Pointer<Void> but the layout is not void. This happens with undefined struct pointer.
>>
>> - A test case that validate empty struct is handled properly by jextract.
>>
>> Cheers,
>> Henry
>>
>> [1] http://cr.openjdk.java.net/~henryjen/panama/foreign/missingSymbol/webrev/
>>
>>
More information about the panama-dev
mailing list