This is an exported version of the JIRA issue tracker. Please use the Google Code site to open new tickets or report updates to these existing tickets. Feel free to contact the mailing list with any questions.

[SJN-78] Does not compiled with JDK-1.6
Created: Mon, 4 Feb 2008 17:50:18 -0800 (PST)  Updated: Tue, 5 Feb 2008 00:53:30 -0800 (PST)

Status:Closed
Project:Simple-JNDI
Component/s:
Affects Version/s:
Fix Version/s:0.11.3

Type:TaskPriority: Major
Reporter:Ruslan ShevchenkoAssignee:Unassigned
Resolution:Fixed 
Environment:[<a href='mailto:rssh@a22'>rssh@a22</a> trunk]$ java -version <br/> java version &quot;1.6.0_02&quot; <br/> Java(TM) SE Runtime Environment (build 1.6.0_02-b05) <br/> Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing) <br/>


 Description   
is not compiled with JDK-1.,6 since in JDK-1.6 two methods are added to DataSource interface, so we have next errors:

[INFO] Compilation failure
/home/rssh/packages/simple-jndi/repository/trunk/simple-jndi/src/java/org/osjava/sj/loader/SJDataSource.java:[44,7] org.osjava.sj.loader.SJDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper



/home/rssh/packages/simple-jndi/repository/trunk/simple-jndi/src/java/org/osjava/sj/loader/SJDataSource.java:[44,7] org.osjava.sj.loader.SJDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper

Comment by rssh [ Mon, 4 Feb 2008 17:53:46 -0800 (PST) ]
Hmm, Why I can't attach patch ?
(patch with fix this will be send to mail list)
Comment by bayard [ Tue, 5 Feb 2008 00:53:30 -0800 (PST) ]
svn ci -m "Applying Ruslan Shevchenko's patch for JDK 1.6 compatibility (SJN-78)" src pom.xml
Sending pom.xml
Sending src/java/org/osjava/sj/loader/SJDataSource.java
Transmitting file data ..
Committed revision 2614.