You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sergey Krivenko (JIRA)" <ji...@apache.org> on 2006/11/28 17:32:23 UTC
[jira] Created: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
[classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
----------------------------------------------------------------------------------------------------------
Key: HARMONY-2350
URL: http://issues.apache.org/jira/browse/HARMONY-2350
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: WIN XP
Reporter: Sergey Krivenko
Attachments: BeanContextSupport2.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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Sergey Krivenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2350?page=all ]
Sergey Krivenko updated HARMONY-2350:
-------------------------------------
Attachment: BeanContextSupportTest2.patch
The attached file is a patch to the test
> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2350
> URL: http://issues.apache.org/jira/browse/HARMONY-2350
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: WIN XP
> Reporter: Sergey Krivenko
> 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2350?page=comments#action_12455683 ]
Alexei Zakharov commented on HARMONY-2350:
------------------------------------------
Hi Sergey, thanks for the patch. But why have you added testPropertyChangePropertyChangeEvent test? Is this a part of the bugfix? Or at least has some relation to above problem?
> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2350
> URL: http://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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Sergey Krivenko (JIRA)" <ji...@apache.org>.
[ 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
[jira] Assigned: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2350?page=all ]
Alexei Zakharov reassigned HARMONY-2350:
----------------------------------------
Assignee: Alexei Zakharov
> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2350
> URL: http://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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov resolved HARMONY-2350.
--------------------------------------
Resolution: Fixed
Changes were committed at the revision r495302. I didn't apply the patch for test since the described situation is already covered by testAddAll() test. Please verify that everything was applied as expected.
> [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
[jira] Closed: (HARMONY-2350) [classlib] [beans] Method addAll() in
class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov closed HARMONY-2350.
------------------------------------
> [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
[jira] Updated: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Sergey Krivenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2350?page=all ]
Sergey Krivenko updated HARMONY-2350:
-------------------------------------
Attachment: BeanContextSupport2.patch
The attached file is a patch to the bug described
> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2350
> URL: http://issues.apache.org/jira/browse/HARMONY-2350
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: WIN XP
> Reporter: Sergey Krivenko
> Attachments: BeanContextSupport2.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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "sergey krivenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463936 ]
sergey krivenko commented on HARMONY-2350:
------------------------------------------
Sorry, I didn't revert changes made to fix the previous bug.
> [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
[jira] Updated: (HARMONY-2350) [classlib] [beans] Method addAll()
in class BeanContextSupport doesn't throw UnsupportedOperationException
Posted by "Sergey Krivenko (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2350?page=all ]
Sergey Krivenko updated HARMONY-2350:
-------------------------------------
Patch Info: [Patch Available]
> [classlib] [beans] Method addAll() in class BeanContextSupport doesn't throw UnsupportedOperationException
> ----------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2350
> URL: http://issues.apache.org/jira/browse/HARMONY-2350
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: WIN XP
> Reporter: Sergey Krivenko
> 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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira