[OS-JIRA] Created: (CAY-170) Class Generation Bug

From: jir..bjectstyle.org
Date: Sat Jul 17 2004 - 20:25:46 EDT

  • Next message: jir..bjectstyle.org: "[OS-JIRA] Created: (CAY-171) Multiple Domains Having DataMap with the same name"

    Message:

      A new issue has been created in JIRA.

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

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

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-170
        Summary: Class Generation Bug
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.1 [BETA]

       Assignee: Andrus Adamchik
       Reporter: Andrus Adamchik

        Created: Sat, 17 Jul 2004 8:24 PM
        Updated: Sat, 17 Jul 2004 8:24 PM

    Description:
    Not even sure how to handle that...

    When a java class is in default package (i.e. no package), superclass is generated in a package called "auto". The problem is that a superclass needs access to subclass, and subclass is in default package and can't be imported (per JDK 1.4, looks like this could be done prevously).

    The only way I can imagine us handling this is popping a dialog asking "Do you want to move all classes into default package, yes/no". If yes, all subclasses and superclasses will end up in default. If no, user will have to assign package manually before doing class gen.

    That's minor since people shouldn't use default package anyway..

    ---------------------------------------------------------------------
    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 : Sat Jul 17 2004 - 20:25:47 EDT