Difference between revisions of "EclipseLink/Development/Java6"

From Eclipsepedia

Jump to: navigation, search
m (Features new to Java 1.6)
m (Java SE 6 Integration)
 
Line 1: Line 1:
 
==Java SE 6 Integration==
 
==Java SE 6 Integration==
  
This section describes current issues and resolutions for compiling and running EclipseLink on a Sun Java 6 JRE (currently 1.6.0_03-b05).
+
This section describes current issues and resolutions for compiling and running EclipseLink on a Sun Java 6 JRE (currently 1.6.0_07).
 +
 
 +
See [http://wiki.eclipse.org/EclipseLink/DesignDocs/236185 236185 Java 6 Design Doc.]
  
 
===What is not working===
 
===What is not working===

Latest revision as of 12:34, 3 November 2008

Contents

[edit] Java SE 6 Integration

This section describes current issues and resolutions for compiling and running EclipseLink on a Sun Java 6 JRE (currently 1.6.0_07).

See 236185 Java 6 Design Doc.

[edit] What is not working

  • eclipselink.jpa test
  • eclipselink.sdo.test
    • Class generation fails using 1.6 tools.jar - fix to be verified.
    • If recompiling sdo.core with 1.6 - Use Java 6 JDK 1.6.0_10-rc2 (as its classLoader has been fixed)
  • eclipselink.moxy - (javax.xml.bind) JAXB 2.0 is now moved from the JWSDP to JDK1.6 - API collisions will need to be sorted out - fix to be verified

[edit] Compile-Time Support

  • Compiling under 1.6.0 with a target of 1.5 is working fine.
  • There are 133 errors in 213261 as follows when compiling under 1.6.0 with a target of 1.6 in the following test projects
    • eclipselink.core.test
    • eclipselink.extension.oracle.test
    • New JDBC 4.0 Intefaces - stubs were added
    • Changes to the java.sql package in the JDBC 4.0 API added new interface changes that affect our test code using the following classes
      • Wrapper, Connection, DataSource, PreparedStatement, Statement and ResultSet
      • These changes are not Java SE 5 backwards compatible.

[edit] Run-Time Support

[edit] Features new to Java 1.6