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

Harshitha Onkar honkar at openjdk.org
Wed Nov 13 19:49:05 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.

This pull request has now been integrated.

Changeset: 1eb38c8e
Author:    Harshitha Onkar <honkar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1eb38c8eb7ca12b370f8ae68988890eaf36c5b37
Stats:     574 lines in 10 files changed: 0 ins; 574 del; 0 mod

8343219: Manual clientlibs test failures after SM removal

Reviewed-by: azvegint, aivanov, prr

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

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


More information about the client-libs-dev mailing list