8196540: [Testbug] java/security/AccessController/DoPrivAccompliceTest.java doesn't handle unrelated warnings
Reviewed-by: mullan
This commit is contained in:
parent
a3ed7dd7d6
commit
e836d6ec10
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
Loading…
x
Reference in New Issue
Block a user