Adjust logger usage in java2d tests

XMLWordPrintable

    • 2d
    • aarch64
    • os_x

      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 .

            Assignee:
            Philip Race
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: