XStream

Make XStream JDK 6 buildable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2.2
  • Component/s: None
  • Labels:
    None

Description

The current code base does not run all unit tests for JDK 6:

  • a lot of tests using a HashMap or HashSet expect the elements to be generated in a specific order - such tests fail now (and were not valid anyway)
  • the VM crashes in c.t.a.SwingTest.testJTable
  • the Stax-based tests fail, since the XML declaration is missing (they seem to use the Stax parser provided by the JDK)
  • c.t.x.c.e.FontConverterTest fails for unknown reason
  • c.t.a.XmlFriendlyTest.testDecimalSymbols fails due to difference in the decimal symbol structure

Activity

Hide
Joerg Schaible added a comment -

Fixed first issue except the JSON test.
SwingTest fails because of failing FontConverter (Font has new internal structure in JDK 6).

Show
Joerg Schaible added a comment - Fixed first issue except the JSON test. SwingTest fails because of failing FontConverter (Font has new internal structure in JDK 6).
Hide
Joerg Schaible added a comment -

Fixed FontConverter problem (solves also SwingTest).

Show
Joerg Schaible added a comment - Fixed FontConverter problem (solves also SwingTest).
Hide
Joerg Schaible added a comment -

Fixed the testDecimalSymbols.

Show
Joerg Schaible added a comment - Fixed the testDecimalSymbols.
Hide
Joerg Schaible added a comment -

Fixed permutation problem for JSON.
Started with Stax-based tests.

Show
Joerg Schaible added a comment - Fixed permutation problem for JSON. Started with Stax-based tests.
Hide
Joerg Schaible added a comment -

See StaxWriterTestSuite.

Show
Joerg Schaible added a comment - See StaxWriterTestSuite.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: