return XToolkit from iOS getPreferredToolkit stub

This is necessary to prevent an NPE in Hashtable.put when
System.initProperites tries to put a null value in the map for
java.awt.graphicsenv.
This commit is contained in:
Joel Dice 2013-01-19 14:10:31 -07:00
parent ccbdd6723a
commit 2a45a5919c

View File

@ -3,7 +3,7 @@
PreferredToolkit PreferredToolkit
getPreferredToolkit() getPreferredToolkit()
{ {
return unset; return XToolkit;
} }
void void