Mercurial > hg > graal-compiler
view .hgignore @ 3604:e4175b8b85d3
IdealGraphVisualizer: work around a Swing/NetBeans tree UI problem that occurs when mouse events are handled while the tree model is changing, e.g. when using IGV while it still receives graphs from a compiler. BasicTreeUI attempts to get the boundaries for the node associated with the location on screen, but fails and tries to access a null Rectangle, causing a user-visible NullPointerException. By implementing equals() for GraphNode, nodes for graphs that are already in the tree are not removed and re-added when updating groups, and the exception can no longer be reproduced. This potentially also resolves some redraw issues.
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Mon, 31 Oct 2011 15:55:13 +0100 |
parents | 1384a953d503 |
children | 3b2ab8970aa4 |
line wrap: on
line source
^build/ ^dist/ ^java/ ^java64/ ^work/ \.metadata/ ~$ \.csv$ \.swp$ \.class$ \.log$ \.bak$ \.aux$ \.pdf$ \.dot$ ^doc/.*/dot_temp_ ^doc/doxygen/.*$ \.orig$ output\.txt$ output\.cfg$ ^Test.java$ ^diff1.txt$ ^diff2.txt$ ^examples.jar$ ^graal/com.oracle.max.graal.examples/examples.jar$ ^test.xml$ java\.hprof\.txt$ /nbproject/private/ ^graal/hotspot/java$ ^scratch/ scratch/ bin/ ^local/ ^src/share/tools/hsdis/build/ ^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/ ^src/share/tools/IdealGraphVisualizer/build/ ^src/share/tools/IdealGraphVisualizer/dist/ ^.hgtip ^make/solaris/solaris_amd64_compiler1/ ^RemoteSystemsTempFiles/