Issue Details (XML | Word | Printable)

Key: OPENEJB-952
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Alex Grönholm
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Build fails under JDK6 due to unimplemented methods in NullDataSource

Created: 04/Nov/08 01:08 PM   Updated: 04/Nov/08 04:41 PM
Return to search
Component/s: container system
Affects Version/s: 3.1
Fix Version/s: 3.1.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works persistencebootstrap.patch 2008-11-04 01:09 PM Alex Grönholm 0.7 kB
Environment: Java 6

Resolution Date: 04/Nov/08 04:41 PM


 Description  « Hide
The interface javax.sql.DataSource inherits from java.sql.Wrapper in Java 6 but not in Java 5. The methods required by java.sql.Wrapper are not implemented in the NullDataSource class in org.apache.openejb.persistence.PersistenceBootstrap, preventing the build process from completing successfully under JDK6. Attached is a patch that adds the appropriate minimum implementation of the required methods.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Grönholm made changes - 04/Nov/08 01:09 PM
Field Original Value New Value
Attachment persistencebootstrap.patch [ 12393295 ]
Repository Revision Date User Message
ASF #711304 Tue Nov 04 16:40:51 UTC 2008 dain OPENEJB-952 Build fails under JDK6 due to unimplemented methods in NullDataSource
Thanks Alex Grönholm
Files Changed
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/persistence/PersistenceBootstrap.java

Dain Sundstrom added a comment - 04/Nov/08 04:41 PM
Committed. Thanks

Dain Sundstrom made changes - 04/Nov/08 04:41 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]