Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SecurityManagerWarnings to match OpenJ9 stack trace #905

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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