8196540: [Testbug] java/security/AccessController/DoPrivAccompliceTest.java doesn't handle unrelated warnings

Reviewed-by: mullan
This commit is contained in:
Bhanu Prakash Gopularam 2018-04-25 12:39:05 +05:30 committed by Vyom Tewari
parent a3ed7dd7d6
commit e836d6ec10
2 changed files with 498 additions and 484 deletions
test
jdk/java/security/AccessController
lib/jdk/test/lib/process

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -104,7 +104,7 @@ public class DoPrivAccompliceTest {
ProcessTools.executeTestJava(commands)
.shouldHaveExitValue(0)
.shouldContain(userName)
.stderrShouldBeEmpty();
.stderrShouldBeEmptyIgnoreVMWarnings();
createPolicyFile(jarFile2, policy);
System.out.println("Created policy for " + jarFile2);

File diff suppressed because it is too large Load Diff