[jira] Created: (LANG-388) org.apache.commons.lang.enum

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
org.apache.commons.lang.enum
----------------------------

                 Key: LANG-388
                 URL: https://issues.apache.org/jira/browse/LANG-388
             Project: Commons Lang
          Issue Type: Bug
         Environment: Java 1.5, possibly earlier
            Reporter: Hasan Diwan
            Priority: Blocker
             Fix For: Known Issue


In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)

     [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hasan Diwan updated LANG-388:
-----------------------------

    Attachment: langtests.pat

Patch comments out the relevant suite.addTest line indicated in the bug description

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>             Fix For: Known Issue
>
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

    [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554431 ]

Gary Gregory commented on LANG-388:
-----------------------------------

Works fine for me on Sun Java 1.4.2_16 and 1.5.0_13 on Windows XP SP2. I get the expected compiler warnings on Java 5. Please include your errors.

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>             Fix For: Known Issue
>
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

     [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated LANG-388:
-------------------------------

    Fix Version/s:     (was: Known Issue)

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

    [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557203#action_12557203 ]

Henri Yandell commented on LANG-388:
------------------------------------

Any details on your errors Hasan?

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

    [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557327#action_12557327 ]

Hasan Diwan commented on LANG-388:
----------------------------------

I have warnings-as-errors set and that was the problem. In any case, commenting this out might be a good idea with a version test.

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

    [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557342#action_12557342 ]

Sebb commented on LANG-388:
---------------------------

The entire enum directory is deprecated for the same reason and will be removed at some point.
No point in just removing the test case.

The workround is to leave such warnings as warnings.

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (LANG-388) org.apache.commons.lang.enum

Jerome Wolff (Jira)
In reply to this post by Jerome Wolff (Jira)

     [ https://issues.apache.org/jira/browse/LANG-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed LANG-388.
------------------------------

    Resolution: Won't Fix

Yup - closing as wontfix.

All the deprecated bits will vanish in 3.0.

> org.apache.commons.lang.enum
> ----------------------------
>
>                 Key: LANG-388
>                 URL: https://issues.apache.org/jira/browse/LANG-388
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Java 1.5, possibly earlier
>            Reporter: Hasan Diwan
>            Priority: Blocker
>         Attachments: langtests.pat
>
>
> In src/test/org/apache/commons/lang/AllLangTestSuite.java, the package won't compile unless the line "suite.addTest(org.apache.commons.lang.enum.EnumTestSuite.suite());" is commented out.

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