RFR [8u-dev]: JDK-8028792 - (ch) Channels native code needs to be checked for methods calling JNI with pending exceptions

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 23 15:54:51 UTC 2015


Reviewed ( if you still need it ).

For a test I applied the JDK 9 changeset to a clean jdk8u-dev . It 
applies almost perfectly.

$ hg import http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/01b83dcdcc36
applying http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/01b83dcdcc36
patching file src/windows/native/java/io/WinNTFileSystem_md.c
Hunk #3 succeeded at 266 with fuzz 2 (offset 6 lines).
Hunk #4 succeeded at 299 with fuzz 2 (offset 8 lines).

-Chris.


On 23/01/15 14:58, Mark Sheppard wrote:
> Hi
>     after some discussion, changing this to a RFR as there was some
> manual intervention
>
> so please oblige and review
>
> http://cr.openjdk.java.net/~msheppar/8051471/webrev/
> for
> https://bugs.openjdk.java.net/browse/JDK-8051471
>
> which is a backport of
> https://bugs.openjdk.java.net/browse/JDK-8028792
>
> null return checks added to JNI calls
>
> regards
> Mark
>
> On 22/01/2015 14:43, Mark Sheppard wrote:
>>
>> Hi
>>   please oblige and approve the following change
>>
>> http://cr.openjdk.java.net/~msheppar/8051471/webrev/
>> for
>> https://bugs.openjdk.java.net/browse/JDK-8051471
>>
>> which is a backport of
>> https://bugs.openjdk.java.net/browse/JDK-8028792
>>
>> null return checks added to JNI calls
>>
>> changeset: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/01b83dcdcc36
>> review:
>> http://mail.openjdk.java.net/pipermail/nio-dev/2014-February/002508.html
>>
>> regards
>> Mark
>>
>


More information about the jdk8u-dev mailing list