Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-277

Tests compatibility with java 1.6

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.9
    • Labels:
      None
    • Environment:

      java 1.6 sun jdk

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                florianh Florian Holeczek
                Reporter:
                kazamatzuri Fabian Haupt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: