[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9078) "Add java.io.Serializable interface to '<Bean>' class" quick fix works wrong if Bean class extends another class
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Mon Jun 6 12:55:59 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Azarov updated JBIDE-9078:
---------------------------------
Fix Version/s: 3.3.0.M3
(was: 3.3.0.M2)
> "Add java.io.Serializable interface to '<Bean>' class" quick fix works wrong if Bean class extends another class
> ----------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-9078
> URL: https://issues.jboss.org/browse/JBIDE-9078
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.3.0.M1
> Reporter: Daniel Azarov
> Assignee: Daniel Azarov
> Fix For: 3.3.0.M3
>
>
> EXECUTE: Create any CDI project.
> EXECUTE: Create:
> {code}
> package org.test;
> public class FirstBean {
> }
> {code}
> {code}
> package org.test;
> import javax.enterprise.context.SessionScoped;
> @SessionScoped
> public class SecondBean extends FirstBean {
> }
> {code}
> EXECUTE: Build the project
> ASSERT: "SecondBean" name in SecondBean.java class marked with "Managed bean SecondBean which declares a passivating scope SessionScoped must be passivation capable [JSR-299 §6.6.4]" warning problem marker with "Add java.io.Serializable interface to 'SecondBean' class"
> EXECUTE: Select quick fix link
> FAIL: Quick fix inserted 'implements Serializable' before 'extends FirstBean' and it couse compilation problem
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list