RFR 9: 8167192 [Testbug] : java/io/Serializable/serialFilter test conditions wrong

Mandy Chung mandy.chung at oracle.com
Sat Oct 22 16:02:59 UTC 2016

> On Oct 21, 2016, at 10:16 AM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> Please review a test correction to the permissions granted to the test
> and the check that the global filter cannot be re-set if once set.
> Removed unnecessary code supplying a OIS when testing setting the global filter.
> Webrev:
>   http://cr.openjdk.java.net/~rriggs/webrev-filtertest-8167192/

Should the test fail when the test does not have java.io.SerializablePermission(“serialFilter”) permission?  Has the test been passing with this typo?
One more typo in FilterWithSecurityManagerTest.java
  75                     + "java.security.SerializablePermission(serialFilter) “


More information about the core-libs-dev mailing list