8206865: RMI activation tests fail with InvalidClassException

Reviewed-by: darcy, alanb, mchung
This commit is contained in:
Stuart Marks 2018-07-20 14:34:51 -07:00
parent daa3f2ce32
commit 61ea10862e
2 changed files with 3 additions and 6 deletions

View file

@ -451,6 +451,9 @@ public class ReflectionFactory {
return true;
}
}
if (Reflection.areNestMates(cl, superCl)) {
return true;
}
return false;
} else {
// sanity check to ensure the parent is protected or public