RFR: JDK-8343219 : Manual clientlibs test failures after SM removal
Phil Race
prr at openjdk.org
Wed Nov 13 19:45:50 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.
Nothing but deletions !
-------------
Marked as reviewed by prr (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22054#pullrequestreview-2434258581
More information about the client-libs-dev
mailing list