JDK 11 RFR(s) JDK-8206865 RMI activation tests fail with InvalidClassException

mandy chung mandy.chung at oracle.com
Fri Jul 20 17:36:30 UTC 2018



On 7/20/18 10:27 AM, Stuart Marks wrote:
> On 7/19/18 11:55 PM, Alan Bateman wrote:
>> On 19/07/2018 22:22, Stuart Marks wrote:
>>> Please review this fix for some failing RMI activation tests. Some 
>>> reflective code needed adjustment to take nestmates into account. 
>>> This also removes the failing tests from the problem list.
>>>
>>> Webrev:
>>>
>>>     http://cr.openjdk.java.net/~smarks/reviews/8206865/webrev.0/
>>>
>>> Bug:
>>>     https://bugs.openjdk.java.net/browse/JDK-8206865
> 
>> Reflection.areNestMates is a native method and the number of cases 
>> where it will return true in this context is small so I think better 
>> to move this into the block that handles the case of the classes in 
>> the same run-time package.
> 
> OK. Updated webrev:
> 
> http://cr.openjdk.java.net/~smarks/reviews/8206865/webrev.1/

This looks good.

Mandy


More information about the core-libs-dev mailing list