Crashes on Win XP
Brought to you by:
kherr
WinXP isn't being specifically checked for as a valid
OS, app crashes with NPE.
Quick solution is to just treat XP as Win2k
Patch below and attached:
==========
RCS file:
/cvsroot/openjnlp/devel/src/org/nanode/launcher/Gestalt.java,v
retrieving revision 1.2
diff -u -r1.2 Gestalt.java
--- Gestalt.java 27 Mar 2002 20:32:51 -0000 1.2
+++ Gestalt.java 21 Mar 2005 20:35:31 -0000
@@ -115,6 +115,8 @@
platform = OSPLATFORM_WINDOWSNT;
} else if (osName.startsWith("Windows
2000")) {
platform = OSPLATFORM_WINDOWS2K;
+ } else if (osName.startsWith("Windows
XP")) {
+ platform = OSPLATFORM_WINDOWS2K;
}
break;
Logged In: YES
user_id=158008
Added patch. Gestalt.java is now version 1.3 in CVS with patch