RFR: 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper cannot access

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Oct 30 03:15:38 UTC 2024


Couple of printing tests dont have "public" modifier so CI testing fails to run this test citing IllegalAccessException.
Fix is made to made the test class public.

Additionally, modified PrintDlgPageable.java to use PFJ and made StreamPrintingOrientation.java automated.

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

Commit messages:
 - jcheck
 - 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper cannot access
 - 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper cannot access

Changes: https://git.openjdk.org/jdk/pull/21780/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21780&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343124
  Stats: 263 lines in 2 files changed: 103 ins; 71 del; 89 mod
  Patch: https://git.openjdk.org/jdk/pull/21780.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21780/head:pull/21780

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


More information about the client-libs-dev mailing list