[ https://issues.apache.org/jira/browse/JSPWIKI-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13428929#comment-13428929 ]
Juan Pablo Santos RodrÃguez commented on JSPWIKI-277: ----------------------------------------------------- Hi, current trunk builds with JDK5/6/7. JSPWIKI-722 isn't an exact duplicate, but fixing it also fixes this issue. Or I'm missing something? :-? br, juan pablo > Tests compatibility with java 1.6 > --------------------------------- > > Key: JSPWIKI-277 > URL: https://issues.apache.org/jira/browse/JSPWIKI-277 > Project: JSPWiki > Issue Type: Improvement > Components: Servlet Container/Java compatibility > Affects Versions: 2.6.2 > Environment: java 1.6 sun jdk > Reporter: Fabian Haupt > Assignee: Florian Holeczek > Priority: Trivial > > With the add of the two methods: > public boolean isWrapperFor( Class<?> arg0 ) throws SQLException > { return false; } > public <T> T unwrap( Class<T> arg0 ) throws SQLException > { return null; } > (probably not a very usefull implementation, but it works anyways ;) ) > in TestJDBCDataSource.java (com.ecyrd.jspwiki) > JSPWiki becomes runnable and compilable in java-1.6 > This is just a _minor_ change, and so far I have encountered no problem > running and building jspwiki in java-1.6. As this wouldn't break anything > with 1.5 maybe this could be added to the svn? > greetings > Fabian Haupt -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira