This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
There is a JDK problem workaround in NbClipboard that tracks the last deactivated component and checks whether it is the same on WINDOW_ACTIVATED. This causes a medium leak that keeps last used dialog in memory until next dialog is used. After startup, it can also referenc splash screen this way (600KB) for extended period of time. The component could IMHO be either referenced weakly, or (probably better and easier) cleared on next WINDOW_ACTIVATED event. Assigning to Yarda, ccing Trung, they know most about the code. I can fix it myself if you aggree with the (latter) proposed solution.
I guess use of weak reference is safer fix.
Feel free to improve, if you want... Checking in test/unit/src/org/netbeans/core/NbClipboardTest.java; /shared/data/ccvs/repository/core/test/unit/src/org/netbeans/core/NbClipboardTest.java,v <-- NbClipboardTest.java new revision: 1.3; previous revision: 1.2 done Checking in src/org/netbeans/core/NbClipboard.java; /shared/data/ccvs/repository/core/src/org/netbeans/core/NbClipboard.java,v <-- NbClipboard.java new revision: 1.32; previous revision: 1.31