Title: [1987] trunk: Fox lock up on Mac with Apple JVM at initialization (XSTR-709), uses now AWTError for detection of AWT.
Revision
1987
Author
joehni
Date
2012-10-18 11:55:56 -0500 (Thu, 18 Oct 2012)

Log Message

Fox lock up on Mac with Apple JVM at initialization (XSTR-709), uses now AWTError for detection of AWT.

Modified Paths

Diff

Modified: trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java (1986 => 1987)


--- trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java	2012-10-13 18:08:02 UTC (rev 1986)
+++ trunk/xstream/src/java/com/thoughtworks/xstream/core/JVM.java	2012-10-18 16:55:56 UTC (rev 1987)
@@ -35,7 +35,7 @@
     private ReflectionProvider reflectionProvider;
     private transient Map loaderCache = new WeakCache(new HashMap());
     
-    private final boolean supportsAWT = loadClass("java.awt.Color") != null;
+    private final boolean supportsAWT = loadClass("java.awt.AWTError") != null;
     private final boolean supportsSwing = loadClass("javax.swing.LookAndFeel") != null;
     private final boolean supportsSQL = loadClass("java.sql.Date") != null;
     

Modified: trunk/xstream-distribution/src/content/changes.html (1986 => 1987)


--- trunk/xstream-distribution/src/content/changes.html	2012-10-13 18:08:02 UTC (rev 1986)
+++ trunk/xstream-distribution/src/content/changes.html	2012-10-18 16:55:56 UTC (rev 1987)
@@ -32,6 +32,12 @@
 
     <p>Not yet released.</p>
 
+    <h2>Major changes</h2>
+    
+    <ul>
+    	<li>JIRA:XSTR-709: Locks up on Mac with Apple JVM at initialization.</li>
+    </ul>
+
     <h2>Minor changes</h2>
     
     <ul>

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to