[OS-JIRA] Created: (CAY-433) JDK 1.5 enums that are inner classes are not supported.

From: jira-norepl..bjectstyle.org
Date: Sun Jan 29 2006 - 20:10:37 EST

  • Next message: Marcin Skladaniec: "Re: 3t and performance"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-433

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-433
        Summary: JDK 1.5 enums that are inner classes are not supported.
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Fix Fors:
                 1.2 [DEV]
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Sun, 29 Jan 2006 8:10 PM
        Updated: Sun, 29 Jan 2006 8:10 PM

    Description:
    When an enum is an inner class, Cayenne throws ClassNotFoundException in my tests (and ClassCastException per user report - http://objectstyle.org/cayenne/lists/cayenne-user/2006/01/0195.html ... I can't reproduce this one)

    public class User extends _User {
       ...
       public static enum UserStatus {
           REGISTERED, AUTHORIZED, LOCKED_OUT, BANNED, DELETED
       }
       ...
    }

    We need to support such "inner" enums.

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Sun Jan 29 2006 - 20:10:38 EST