[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8515) New CDI bean wizard creates abstract, not-serializable class by default.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Mar 10 19:56:45 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587305#comment-12587305 ] 

Viacheslav Kabanovich commented on JBIDE-8515:
----------------------------------------------

Since New CDI Bean wizard has input field 'Interfaces', its content should be the same as the set of interfaces implemented by created class.  We do not init wizard with @SessionScoped, so we cannot init it with java.io.Serializable. I suggest that wizard should just validate input and warn customer that he should add java.io.Serializable if he selected @SessionScoped.

> New CDI bean wizard creates abstract, not-serializable class by default.
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-8515
>                 URL: https://issues.jboss.org/browse/JBIDE-8515
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.0.Final
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.1, 3.3.0.M1
>
>
> 1. Open New CDI Bean wizard.
> 2. Input name and package, add @SessionScoped, press finish.
> 3. The created class is abstract and doesn't implement java.io.Serializable. But it should not be abstract and should implement Serializable.

--
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