You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/11/18 06:58:40 UTC

[jira] Created: (AVRO-209) java specific compiler generates invalid source class

java specific compiler generates invalid source class
-----------------------------------------------------

                 Key: AVRO-209
                 URL: https://issues.apache.org/jira/browse/AVRO-209
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.2.0
            Reporter: Patrick Hunt


For records/enums/etc... with names that begin with lower case letters:

      "response": {"name":"e1", "type":"enum", "symbols":["AA", "BB"]},

generates an E1.java file

public enum e1 { 
  AA, BB
}

which fails to compile under javac - which complains that the class name is e1 but the java file name of E1.java does not match.

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