Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.6.2
    • 2.9
    • None
    • 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

            jalkanen Janne Jalkanen added a comment -

            JSPWiki runs perfectly well on JDK1.6, I have been doing it for months now. It also compiles on 1.6.

            This relates to tests and running of tests. Renamed the issue.

            jalkanen Janne Jalkanen added a comment - JSPWiki runs perfectly well on JDK1.6, I have been doing it for months now. It also compiles on 1.6. This relates to tests and running of tests. Renamed the issue.
            jalkanen Janne Jalkanen added a comment -

            Tagged for 2.8

            jalkanen Janne Jalkanen added a comment - Tagged for 2.8
            jalkanen Janne Jalkanen added a comment -

            Ngh. It's actually a bit more complicated than that, since we're implementing an interface which was extended in JDK6 by additional classes - if we implement the methods, then JSPWiki tests stop being compilable on 1.5.

            So I guess this will have to wait for a long time, unless someone figures out a way to make the source code functional for both.

            jalkanen Janne Jalkanen added a comment - Ngh. It's actually a bit more complicated than that, since we're implementing an interface which was extended in JDK6 by additional classes - if we implement the methods, then JSPWiki tests stop being compilable on 1.5. So I guess this will have to wait for a long time, unless someone figures out a way to make the source code functional for both.
            jalkanen Janne Jalkanen added a comment -

            Dropped out of 2.8 content.

            jalkanen Janne Jalkanen added a comment - Dropped out of 2.8 content.

            duplicated with/by JSPWIKI-722

            juanpablo Juan Pablo Santos Rodríguez added a comment - duplicated with/by JSPWIKI-722

            Not a duplicate

            florianh Florian Holeczek added a comment - Not a duplicate

            want to have a look at this after graduation

            florianh Florian Holeczek added a comment - want to have a look at this after graduation

            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

            juanpablo Juan Pablo Santos Rodríguez added a comment - 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

            marking this as fixed as JSPWiki compiles on JDK6 since 2.9

            juanpablo Juan Pablo Santos Rodríguez added a comment - marking this as fixed as JSPWiki compiles on JDK6 since 2.9

            People

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

              Dates

                Created:
                Updated:
                Resolved: