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

Alexander Zvegintsev azvegint at openjdk.org
Wed Nov 13 01:13:57 UTC 2024


On Wed, 13 Nov 2024 00:42:45 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

> 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.

Marked as reviewed by azvegint (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22054#pullrequestreview-2431307670


More information about the client-libs-dev mailing list