Author: robert
Date: 2007-12-12 22:19:30 +0000 (Wed, 12 Dec 2007)
New Revision: 16509

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
hmmm... apparently Apple is not totally consistent with vendor strings


Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2007-12-12 21:00:27 UTC (rev 
16508)
+++ trunk/freenet/src/freenet/node/Node.java    2007-12-12 22:19:30 UTC (rev 
16509)
@@ -1550,7 +1550,7 @@
                                });
                        }

-               } else if (jvmVendor.startsWith("Apple ")) {
+               } else if (jvmVendor.startsWith("Apple ") || 
jvmVendor.startsWith("\"Apple ")) {
                        //Note that Sun does not produce VMs for the Macintosh 
operating system, dont ask the user to find one...
                } else {
                        clientCore.alerts.register(new SimpleUserAlert(true, 
l10n("notUsingSunVMTitle"), l10n("notUsingSunVM", new String[] { "vendor", 
"version" }, new String[] { jvmVendor, jvmVersion }), UserAlert.WARNING));


Reply via email to