RFR: JDK-8343219 : Manual clientlibs test failures after SM removal

Harshitha Onkar honkar at openjdk.org
Wed Nov 13 01:13:57 UTC 2024


Following tests are deleted as part of post-SM Removal (JEP 486) cleanup.

1. java/awt/print/PrinterJob/CheckPrivilege.java - Deleted. The test is to verify if printing code does necessary doPrivilege() calls when SM is installed.

2. javax/print/PrintSE/PrintSE.sh - Deleted. Test checks if  queuePrintJob has sufficient permissions for printing when SM is installed. No longer holds value without SM.

3. java/awt/print/PrinterJob/SecurityDialogTest.java - Deleted. This test specifically tests if  "Print to file" option is disabled if reading/writing files is not allowed when Security Manager is present. Since this case is no longer true after SM removal the test has been deleted.

4. java/awt/Dialog/PrintToFileTest/PrintToFileGranted.java - Deleted. This specifically tests if "Print to file" option is enabled when read/write permissions are granted with SM. Since this is no longer the case after SM removal the test has been deleted.

5. java/awt/Dialog/PrintToFileTest/PrintToFileRevoked.java - Deleted. This is similar to the above test and checks if "Print to file" option is disabled when write permission is revoked with SM.

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

Commit messages:
 - delete few clientlibs manual test post-SM removal

Changes: https://git.openjdk.org/jdk/pull/22054/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22054&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343219
  Stats: 574 lines in 10 files changed: 0 ins; 574 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/22054.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22054/head:pull/22054

PR: https://git.openjdk.org/jdk/pull/22054


More information about the client-libs-dev mailing list