Skip to content

Commit

Permalink
Supress warning for System.initSecurityManager
Browse files Browse the repository at this point in the history
Signed-off-by: Theresa Mammarella <[email protected]>
  • Loading branch information
theresa-m committed Dec 10, 2024
1 parent b798307 commit 8003cdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jcl/src/java.base/share/classes/java/lang/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,9 @@ static void checkTmpDir() {
}

/*[IF JAVA_SPEC_VERSION >= 9]*/
/*[IF JAVA_SPEC_VERSION < 24]*/
@SuppressWarnings("removal")
/*[ENDIF] JAVA_SPEC_VERSION < 24 */
static void initSecurityManager(ClassLoader applicationClassLoader) {
/*[IF JAVA_SPEC_VERSION >= 24]*/
boolean throwErrorOnInit = false;
Expand Down

0 comments on commit 8003cdd

Please sign in to comment.