[forge-dev] [JBoss JIRA] Assigned: (SEAMFORGE-189) Field#isType(Class<?> type) method should check if class is part of java.lang package
Lincoln Baxter III (JIRA)
jira-events at lists.jboss.org
Mon May 23 18:05:00 EDT 2011
[ https://issues.jboss.org/browse/SEAMFORGE-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III reassigned SEAMFORGE-189:
--------------------------------------------
Assignee: Lincoln Baxter III
> Field#isType(Class<?> type) method should check if class is part of java.lang package
> -------------------------------------------------------------------------------------
>
> Key: SEAMFORGE-189
> URL: https://issues.jboss.org/browse/SEAMFORGE-189
> Project: Seam Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 1.0.0.Alpha3
> Reporter: Kevin Pollet
> Assignee: Lincoln Baxter III
> Priority: Critical
> Fix For: 1.0.0.Alpha4
>
>
> Currently, {{Field#isType(Class<?> type)}} method checks if there is an import for the given type (only in some case). If the given class represents a wrapper type like {{Boolean}} this will cause the following test to fail (the java.lang import is not needed):
> {code}
> JavaClass fooClass = create(JavaClass.class)
> .setPackage("com.test")
> .setName("Foo");
> Field<JavaClass> property = fooClass.addField("private Boolean bar;");
> assertTrue(property.isType(Boolean.class));
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-dev
mailing list