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

Roger Riggs Roger.Riggs at Oracle.com
Sat Oct 22 16:43:07 UTC 2016

Hi Mandy,

Thanks for catching that typo in the error message.
The fix of the permission in the security.policy exposed bugs in the 
tests that are being addressed.

Webrev updated in place.

Thanks, Roger

On 10/22/2016 12:02 PM, Mandy Chung wrote:
>> 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) “
> Mandy

More information about the core-libs-dev mailing list