11u backport missing binary arrow.png: 8224475: JTextPane does not show images in HTML rendering

Severin Gehwolf sgehwolf at redhat.com
Fri Mar 6 17:11:23 UTC 2020


Hi Matthias,

The JDK 11u backport of 8224475 does not include the arrow.png binary
file, while the jdk/jdk push included it.

I was working on the 8u backport and notices an NPE when running the
regression test from 11u due to arrow.png missing.

java.lang.NullPointerException
        at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:217)
        at TestJTextPaneHTMLRendering.createTestUI(TestJTextPaneHTMLRendering.java:148)
        at TestJTextPaneHTMLRendering.createUI(TestJTextPaneHTMLRendering.java:87)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

It would be great if this could get fixed. Perhaps create an 11u
specific bug which just adds the binary?

Thanks,
Severin



More information about the jdk-updates-dev mailing list