Inifinte Recurison in Schema.java
---------------------------------

                 Key: AVRO-170
                 URL: https://issues.apache.org/jira/browse/AVRO-170
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.2.0
         Environment: Java
            Reporter: Mr Fish


Take a look at line 677 in Schema.java
if (this.containsKey(o)) return this.get(o);

I think this should be super.get(o) but I'm not sure since I have no idea what 
this method is suppose to do, but it definately recurses infinitly.

    public Names except(final Schema schema) {
      final Names parent = this;
      return new Names(space) {
        public Schema get(Object o) {
          if (this.containsKey(o)) return this.get(o);
          if (((NamedSchema)schema).name.equals(o)) return null;
          return parent.get(o);
        }
      };


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

Reply via email to