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

Stuart Marks stuart.marks at oracle.com
Fri Jul 20 17:27:34 UTC 2018


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/

Thanks,

s'marks


More information about the core-libs-dev mailing list