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

Anthony Petrov anthony.petrov at oracle.com
Fri May 23 11:13:41 UTC 2014

The fix looks good to me.

best regards,

On 5/22/2014 5:43 PM, Petr Pchelko wrote:
> Hello, AWT Team.
> Please review the fix for the issue:
> https://bugs.openjdk.java.net/browse/JDK-8043610
> The fix is available at:
> http://cr.openjdk.java.net/~pchelko/9/8043610/webrev/
> 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