You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2005/10/11 20:12:07 UTC
[jira] Updated: (BEEHIVE-762) controls annotation processing doesn't recognize java.io.Serializable on super classes
[ http://issues.apache.org/jira/browse/BEEHIVE-762?page=all ]
Chad Schoettger updated BEEHIVE-762:
------------------------------------
Attachment: BEEHIVE-762.diff
BEEHIVE-762.zip
Attached patch for this issue. Modified AptControlImplementation.java to do more intelligent checks for serializable, also added new unit test to controls test suite.
Patch instructions:
1) apply patch file for AptControlImplementation.java and DeclarativeTest.java
2) add new test control files to: <beehive>trunk/controls/test/src/controls/org/apache/beehive/controls/test/controls/serialization package
> controls annotation processing doesn't recognize java.io.Serializable on super classes
> --------------------------------------------------------------------------------------
>
> Key: BEEHIVE-762
> URL: http://issues.apache.org/jira/browse/BEEHIVE-762
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: v1m1
> Reporter: Eddie O'Neil
> Assignee: Eddie O'Neil
> Attachments: BEEHIVE-762.diff, BEEHIVE-762.zip
>
> Given something like:
> @ControlImplementation
> ParentControlImpl
> implements Serializable
> and
> @ControlImplementation
> ChildControlImpl
>
> the ChildControlImpl class isn't detected as Serializable and produces a compiler error as:
> build:
> [mkdir] Created dir: D:\dev\apps\controls-serializable\build\classes
> [mkdir] Created dir: D:\dev\apps\controls-serializable\build\beansrc
> [apt] Compiling 6 source files to D:\dev\apps\controls-serializable\build\classes
> [apt] D:\dev\apps\controls-serializable\src\pkg\ChildControlImpl.java:6: A ControlImplementati
> on class must implement the java.io.Serializable interface or set the isTransient attribute of @Cont
> rolImplementation to true.
> [apt] public class ChildControlImpl
> [apt] ^
> [apt] 1 error
>
--
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