openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2156) Fix bug in org.apache.openjpa.persistence.util.SourceCode to correctly generate imports.
Date Wed, 11 Apr 2012 17:49:18 GMT

    [ 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

        

Mime
View raw message