Menu

#68 Crashes on Win XP

open
launching (19)
5
2005-03-21
2005-03-21
No

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:

==========

Index: Gestalt.java

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;

Discussion

  • Chad Woolley

    Chad Woolley - 2005-03-21
     
  • Grant Wood

    Grant Wood - 2005-03-22

    Logged In: YES
    user_id=158008

    Added patch. Gestalt.java is now version 1.3 in CVS with patch

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.