[jboss-jira] [JBoss JIRA] (JASSIST-193) assignments without explicit cast cause VM errors

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Wed Apr 17 10:59:53 EDT 2013


     [ https://issues.jboss.org/browse/JASSIST-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba closed JASSIST-193.
---------------------------------

    Resolution: Rejected


This is a feature.
See JASSIST-173.
                
> assignments without explicit cast cause VM errors
> -------------------------------------------------
>
>                 Key: JASSIST-193
>                 URL: https://issues.jboss.org/browse/JASSIST-193
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.17.1-GA
>         Environment: 1.6 jdk, but not limited to
>            Reporter: Pawel Veselov
>            Assignee: Shigeru Chiba
>         Attachments: JA1.java, JA2.java
>
>
> javassist will compile code when assignment is done without an explicit cast, e.g.:
> Object p;
> String s = p;
> However, assignment receptacle is not checked for type, causing VM errors when byte code is verified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list