XStream
  1. XStream
  2. XSTR-709

XStream 1.4.3 locks up on a Mac

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.3
    • Fix Version/s: 1.4.4
    • Component/s: Core
    • Labels:
      None
    • JDK version and platform:
      1..6.0_29 on a OSX 10.7

      Description

      When using xstream 1.4.3 on a Mac, it simply locks up a thread.
      Note that this affects Macs ONLY. Code is fine on Windows and Linux.

      Debugging shows that line 38 in class com.thoughtworks.xstream.core.JVM never exists from the 'loadClass("java.awt.Color")'

      Attached is the stack trace.

      Further investigation shows that this is a known problem on Macs and that loading class java.awt.Color has nasty side-effects which cause threads to lock up on some cases.

      Proposed solution:
      either load a different class, or find a different way to test whether AWT is present.

        Issue Links

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Timotej Ecimovic
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: