castor

Fix minor Java 1.3 regressions in XML

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.5, 1.1 M1, 1.1 M2
  • Fix Version/s: 1.1 M3
  • Component/s: XML
  • Labels:
    None
  • Number of attachments :
    1

Description

This Jira issue will be used to deliver minor fixes to allow better compilation under Java 1.3.1

Activity

Hide
Edward Kuns added a comment -

This patch fixes the easy-to-fix code that won't compile under Java 1.3. In the CTF there is one of and in the DDL generator, there are many usages of String.replaceAll(). Since JDK 1.3.1 has no pattern matching native to it and it would be a mess to rewrite that code to use something other than String.replaceAll() I am not sure what the correct solution is for that code.

But at least some of the non Java-1.3 code can be fixed. This Jira issue is used for that purpose.

Show
Edward Kuns added a comment - This patch fixes the easy-to-fix code that won't compile under Java 1.3. In the CTF there is one of and in the DDL generator, there are many usages of String.replaceAll(). Since JDK 1.3.1 has no pattern matching native to it and it would be a mess to rewrite that code to use something other than String.replaceAll() I am not sure what the correct solution is for that code. But at least some of the non Java-1.3 code can be fixed. This Jira issue is used for that purpose.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: