harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Krivenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2350) [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
Date Fri, 12 Jan 2007 08:06:27 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464114
] 

Sergey Krivenko commented on HARMONY-2350:
------------------------------------------

Verified

> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2350
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2350
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: WIN XP
>            Reporter: Sergey Krivenko
>         Assigned To: Alexei Zakharov
>         Attachments: BeanContextSupport2.patch, BeanContextSupportTest2.patch
>
>
> According to specification the following code shoud throw UnsupportedOperationException:
> import java.beans.beancontext.BeanContextServicesSupport;
> public class Bug9278 {
>     public static void main(String[] args) {
>         try {
>             BeanContextServicesSupport s1 = new BeanContextServicesSupport();
>             BeanContextServicesSupport s2 = new BeanContextServicesSupport();
>             s1.addAll(s2);
>             System.out.println(
>                     "UnsupportedOperationException should be thrown");
>         } catch (UnsupportedOperationException e) {
>             System.out.println("PASSED");            
>         }
>     }
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message