RFR: JDK-8159155 Loading the class "sun.tools.jconsole.OutputViewer" shows a modal dialog

Alan Bateman Alan.Bateman at oracle.com
Mon Jun 13 08:11:48 UTC 2016


On 13/06/2016 08:57, Staffan Larsen wrote:

> Please review the small diff below - see the bug for details. This 
> change will cause OutputViewer to misbehave if init() is called more 
> than once. But since this is an internal class in jconsole, that 
> restriction is not a problem
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8159155
>
> Thanks,
> /Staffan
Not a review comment but a question :-)   We have many classes with 
initializers and I'm curious why this one has been singled out. I would 
assume that java.desktop has many classes with initializers that load UI 
libraries for example.

-Alan


More information about the serviceability-dev mailing list