mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8206865: RMI activation tests fail with InvalidClassException
Reviewed-by: darcy, alanb, mchung
This commit is contained in:
parent
daa3f2ce32
commit
61ea10862e
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue