You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos RodrÃguez (JIRA)" <ji...@apache.org> on 2012/05/07 23:32:49 UTC
[jira] [Closed] (JSPWIKI-277) Tests compatibility with java 1.6
[ https://issues.apache.org/jira/browse/JSPWIKI-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Pablo Santos RodrÃguez closed JSPWIKI-277.
-----------------------------------------------
Resolution: Duplicate
duplicated with/by JSPWIKI-722
> 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
> 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