[ http://issues.apache.org/jira/browse/BEEHIVE-154?page=all ]
Hoi Lam reassigned BEEHIVE-154:
-------------------------------
Assign To: Bryan Che (was: Hoi Lam)
Hi Bryan,
I have reverted the changes I made in Controls to accomodate earlier versions
of Eclipse that have issues with autoboxing. I am reassigning this task to you
to track the temporary changes you made in NetUI.
Hoi
> Revert changes made in ControlBean.vm to accomodate IDEs that are not fully
> JDK5 compliant
> ------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-154
> URL: http://issues.apache.org/jira/browse/BEEHIVE-154
> Project: Beehive
> Type: Task
> Components: Build
> Versions: V1Beta
> Reporter: Hoi Lam
> Assignee: Bryan Che
> Priority: Minor
> Fix For: V1
>
> A change was made in ControlBean.vm to accomodate Eclipse 3.1 Mx that is not
> fully JDK5 compliant, specifically where their language processor doesn't
> support autoboxing. In this case, when a control method returns a primitive
> type, the generated control bean cannot be compiled by the IDE. A change was
> made to wrap an primitive types in their corresponding wrapper classes. This
> change should be reverted when Eclipse no long has this issue.
> When reverting this change look for the following comment in the code and
> following the instruction in the comment:
> ##Wrapping primitives with their corresponding wrapper class
> ##will not be necessary once Javelin and other IDEs become
> ##fully compliant with JDK5.
> ##In this case, we can replace the if statement below with:
> ## #if ($returnType == "void")
> ## Object rv = null;
> ## #else
> ## Object rv = retval;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira