RFR 8185346 : Relax RMI Registry Serial Filter to allow arrays of any type

Roger Riggs Roger.Riggs at Oracle.com
Thu Aug 3 14:25:56 UTC 2017


Please review a relaxation of the serial filter checks on the RMI Registry.

Arrays of any type are serializable and do not pose a risk except based 
on the array size,
which is checked by the maxarray limit. Objects inserted in the array 
are checked Individually.

The filter is modified to check only the array size against the limit 
and otherwise allow arrays of any type.
Both the built-in filter and the pattern based override are updated to 
allow arrays.

Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-registry-allow-arrays-8185346/

Issue:
   https://bugs.openjdk.java.net/browse/JDK-8185346

Thanks, Roger




More information about the core-libs-dev mailing list