Skip to content

Commit

Permalink
Merge pull request #1 from theresa-m/secmanager_test_j9
Browse files Browse the repository at this point in the history
Update SecurityManagerWarnings to match OpenJ9 stack trace
  • Loading branch information
keithc-ca authored Dec 10, 2024
2 parents 2498f8e + 426e935 commit be81ccd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/jdk/java/lang/System/SecurityManagerWarnings.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* ===========================================================================
* (c) Copyright IBM Corp. 2024, 2024 All Rights Reserved
* ===========================================================================
*/

/*
* @test
Expand Down Expand Up @@ -87,7 +92,7 @@ static void failEarlyTest(String prop, String cp) throws Exception {
run(prop, cp)
.shouldNotHaveExitValue(0)
.shouldNotContain("SecurityManagerWarnings.main")
.shouldContain("at java.lang.System.initPhase3")
.shouldContain("at java/lang/System.initSecurityManager")
.shouldContain("Error: A command line option has attempted to allow or enable the Security Manager.");
}

Expand Down

0 comments on commit be81ccd

Please sign in to comment.