[
https://issues.apache.org/jira/browse/AVRO-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting resolved AVRO-170.
-------------------------------
Resolution: Duplicate
Fix Version/s: 1.3.0
Assignee: Doug Cutting
This is fixed indirectly by AVRO-171, which removes the offending method.
> 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
> Assignee: Doug Cutting
> Fix For: 1.3.0
>
>
> 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.