[ 
https://issues.apache.org/jira/browse/OPENJPA-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251781#comment-13251781
 ] 

Rick Curtis commented on OPENJPA-2156:
--------------------------------------

> I thought it was "java.lang.*" that was ignored. 
You are correct that using java.lang.* classes won't generate an import... but 
that is a problem for some java.lang classes. ie: Map.


                
> Fix bug in org.apache.openjpa.persistence.util.SourceCode to correctly 
> generate imports.
> ----------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2156
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2156
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>              Labels: sourcecode
>             Fix For: 2.3.0, 2.2.1
>
>
> In SourceCode we incorrectly ignore adding ClassNames who's package starts 
> with java.util to the collection of imports. For example, when a generated 
> source file uses a java.util.Map, an import won't be created.

--
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