[SJN-78] Does not compiled with JDK-1.6 | |
| Status: | Closed |
| Project: | Simple-JNDI |
| Component/s: | |
| Affects Version/s: | |
| Fix Version/s: | 0.11.3 |
| Type: | Task | Priority: | Major |
| Reporter: | Ruslan Shevchenko | Assignee: | Unassigned |
| Resolution: | Fixed | ||
| Environment: | [<a href='mailto:rssh@a22'>rssh@a22</a> trunk]$ java -version <br/> java version "1.6.0_02" <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 ( Sending pom.xml Sending src/java/org/osjava/sj/loader/SJDataSource.java Transmitting file data .. Committed revision 2614. |