< prev index next >
src/com/sun/javatest/mrep/ReportDirChooser.java
Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg
*** 49,59 ****
{
// the following is a workaround to force the Report class to
// be safely loaded, before the JFileChooser starts running its background
// thread, exposing a JVM bug in class loading.
static {
! Class reportClass = Report.class;
}
/**
* Create a ReportDirChooser, initially showing the user's current directory.
*/
--- 49,59 ----
{
// the following is a workaround to force the Report class to
// be safely loaded, before the JFileChooser starts running its background
// thread, exposing a JVM bug in class loading.
static {
! Class<?> reportClass = Report.class;
}
/**
* Create a ReportDirChooser, initially showing the user's current directory.
*/
< prev index next >