JDK-8372592 : Adjust logger usage in java2d tests
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: os_x
  • CPU: aarch64
  • Submitted: 2025-11-26
  • Updated: 2025-11-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
We recently saw issues with logger usage in sun/java2d/marlin/ClipShapeTest.java, see JDK-8369911 .
[~rriggs] commented on this
"Loggers need to be stored in statics or they get GC'd and later requests get a new instance (without the added handler).
It is surprising not to be have been a problem since it was added in 2018."
But there seems to be problematic logger usage in other java2d tests too; maybe the logger usage should be revised in those tests .
Comments
I think it is because the PR is only fixing one test, and Matthias says other tests need fixing too. But if these are all marlin tests, they really should be added to that PR. [~mbaesken], can we get a list ?
29-11-2025