<<Enumeration>> class with int attributes results in syntax errors
------------------------------------------------------------------

         Key: JAVA-8
         URL: http://galaxy.andromda.org:8080/jira/browse/JAVA-8
     Project: Java Cartridge
        Type: Bug
 Environment: andromda-java-cartridge-3.0-RC1-SNAPSHOT.jar 2005-03-21
    Reporter: Johnny Macchione
 Assigned to: Matthias Bohlen 


The type-safe enum class contains a ";" which causes syntax errors.

Extract from the incorrect generated file:
    /**
     * Initializes the values.
     */ 
    static
    {
        values.put(new java.lang.Integer(value);, ENTRY);
        literals.add(new java.lang.Integer(value););
        values.put(new java.lang.Integer(value);, EXIT);
        literals.add(new java.lang.Integer(value););
        values.put(new java.lang.Integer(value);, MUTATION);
        literals.add(new java.lang.Integer(value););
        literals = java.util.Collections.unmodifiableList(literals);
    }

P.S.: Is it possible to delete the previous issue. I hit the return key by 
mistake before finishing the issue report!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://galaxy.andromda.org:8080/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 SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to