[ https://issues.apache.org/jira/browse/NETBEANS-6497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neil C Smith closed NETBEANS-6497. ---------------------------------- Resolution: Invalid https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-6470 > class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D > ---------------------------------------------------------------------------- > > Key: NETBEANS-6497 > URL: https://issues.apache.org/jira/browse/NETBEANS-6497 > Project: NetBeans > Issue Type: Bug > Components: platform - Window System > Affects Versions: 12.4, 12.5, 12.6 > Reporter: Austin Stephens > Priority: Major > > A various number of Windowing components (such as ColorUtil) expect the input > graphics to be a `Graphics2D`, which is not the case when > `JComponent.setDebugGraphicsOptions​` was set with a non-zero value. This > makes it difficult to debug graphical issues. > This, of course, wouldn't be an issue if > [https://bugs.openjdk.java.net/browse/JDK-4262543] was resolved instead of > left hanging, but we are not expecting them to fix that any time soon. The > code location given is not the only place where it is assumed. -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists