RFR: JDK-8344654 : Some client tests still expect a SecurityManager after JEP486

Harshitha Onkar honkar at openjdk.org
Tue Nov 26 00:11:27 UTC 2024


On Mon, 25 Nov 2024 20:15:05 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> Post JEP486 test cleanup.

The following two tests are failing intermittently on CI and need to be addressed in a separate JBS issue.

test/jdk/java/awt/datatransfer/Independence/IndependenceAWTTest.java 
java/awt/datatransfer/Independence/IndependenceAWTTest.java

test/jdk/java/awt/Desktop/8064934/bug8064934.java line 51:

> 49:             System.out.println("The test is for Windows platform only");
> 50:             return;
> 51:         }

Since this test has @requires (os.family == "windows") tag, os check is redundant, thus removed.

test/jdk/javax/imageio/spi/AppletContextTest/BadPluginConfigurationTest.sh line 266:

> 264: # For more details see:
> 265: #  http://java.sun.com/j2se/1.5.0/docs/guide/security/PolicyFiles.html)
> 266: #

Note no longer relevant after post SM removal.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22371#issuecomment-2499285202
PR Review Comment: https://git.openjdk.org/jdk/pull/22371#discussion_r1857292391
PR Review Comment: https://git.openjdk.org/jdk/pull/22371#discussion_r1857295013


More information about the client-libs-dev mailing list