Remove unneeded old hack for OS X 10.3 in the mac Sys class implementation which loaded the AWT Toolkit
This commit is contained in:
parent
bb8045b471
commit
ce6f4b71f0
|
@ -44,11 +44,6 @@ import com.apple.eio.FileManager;
|
|||
final class MacOSXSysImplementation extends J2SESysImplementation {
|
||||
private static final int JNI_VERSION = 23;
|
||||
|
||||
static {
|
||||
// Make sure AWT is properly initialized. This avoids hangs on Mac OS X 10.3
|
||||
Toolkit.getDefaultToolkit();
|
||||
}
|
||||
|
||||
public int getRequiredJNIVersion() {
|
||||
return JNI_VERSION;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue