You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Richard Emberson (JIRA)" <ji...@apache.org> on 2011/01/23 01:20:43 UTC

[jira] Created: (WICKET-3369) Compile fails using java version "1.6.0_22"

Compile fails using java version "1.6.0_22"
-------------------------------------------

                 Key: WICKET-3369
                 URL: https://issues.apache.org/jira/browse/WICKET-3369
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.5-M3
         Environment: Java version "1.6.0_22"  wicket-velocity
            Reporter: Richard Emberson
            Priority: Trivial


Line 253 of org/apache/wicket/velocity/markup/html/VelocityPanel.java

    [javac] Compiling 4 source files to /home/emberson/java/apache-wicket/apache-wicket-1.5-RC1/src/wicket-velocity/build/classes
    [javac] /home/nobody/java/apache-wicket/apache-wicket-1.5-RC1/src/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java:253: exception java.io.IOException is never thrown in body of corresponding try statement
    [javac]                     catch (IOException e)
    [javac]                     ^
    [javac] 1 error

fix is to comment out catch:

/*
                        catch (IOException e)
                        {
                                onException(e);
                        }
*/


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3369) Compile fails using java version "1.6.0_22"

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3369.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC2
         Assignee: Igor Vaynberg

> Compile fails using java version "1.6.0_22"
> -------------------------------------------
>
>                 Key: WICKET-3369
>                 URL: https://issues.apache.org/jira/browse/WICKET-3369
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.5-M3
>         Environment: Java version "1.6.0_22"  wicket-velocity
>            Reporter: Richard Emberson
>            Assignee: Igor Vaynberg
>            Priority: Trivial
>             Fix For: 1.5-RC2
>
>
> Line 253 of org/apache/wicket/velocity/markup/html/VelocityPanel.java
>     [javac] Compiling 4 source files to /home/emberson/java/apache-wicket/apache-wicket-1.5-RC1/src/wicket-velocity/build/classes
>     [javac] /home/nobody/java/apache-wicket/apache-wicket-1.5-RC1/src/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java:253: exception java.io.IOException is never thrown in body of corresponding try statement
>     [javac]                     catch (IOException e)
>     [javac]                     ^
>     [javac] 1 error
> fix is to comment out catch:
> /*
>                         catch (IOException e)
>                         {
>                                 onException(e);
>                         }
> */

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.