[ 
https://issues.apache.org/jira/browse/AVRO-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-1036:
-------------------------------

    Attachment: AVRO-1036.patch

I don't think we should use ClassLoader across the board, since I don't think 
relative paths would work correctly that way.

Here's an updated patch that includes my fix with your tests.  Tests fail 
without the fix and pass with it.

I'll commit this tomorrow unless there are objections.

                
> IDL processing fails with multi-level nested imports
> ----------------------------------------------------
>
>                 Key: AVRO-1036
>                 URL: https://issues.apache.org/jira/browse/AVRO-1036
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.6.2
>            Reporter: George Fletcher
>            Assignee: Doug Cutting
>             Fix For: 1.6.3
>
>         Attachments: AVRO-1036.patch, AVRO-1036.patch, jira-1036.patch
>
>
> The change to support finding IDL related files on the classpath in addition 
> to the maven-plugin defined directory caused the context of the 
> "sourceDirectory" to be lost when the InputStream return by findFile() is 
> used to create a new Idl instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to