<AWT Dev> [9] Review Request: 8043610 Sorting columns in JFileChooser fails with AppContext NPE

Petr Pchelko petr.pchelko at oracle.com
Thu May 22 13:43:38 UTC 2014

Hello, AWT Team.

Please review the fix for the issue:
The fix is available at:

The problem is that JComponent has 3 methods which are known to be safe to call from any thread - invalidate, revalidate and repaint. 
So these are OK to call from ThreadPool's threads. But now ThreadPool threads do not have an AppContext, so the methods should be
updated to work correctly event on the thread that does not have AppContext.

With best regards. Petr.

More information about the awt-dev mailing list