You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <ji...@apache.org> on 2006/01/10 12:39:20 UTC
[jira] Created: (TUSCANY-2)
JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
-------------------------------------------------------------------
Key: TUSCANY-2
URL: http://issues.apache.org/jira/browse/TUSCANY-2
Project: Tuscany
Type: Bug
Environment: IBM JDK 5
Reporter: ant elder
Priority: Minor
When using IBM JDK 5 instead of the Sun JDK, testcase ReflectionHelperTestCase fails in test testGetBean1AllMethods.
This is because JavaIntrospectionHelper method exactMethodMatch doesn't use the equals method to compare strings:
if (method1.getName() != method2.getName()) {
instead of :
if (!method1.getName().equals(method2.getName())) {
--
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
Re: [jira] Commented: (TUSCANY-2) JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
Posted by Jim Marino <jm...@myroma.net>.
I thought I fixed that previously. It may not have come across in
the contrib snapshot. Thx.
On Jan 16, 2006, at 5:04 AM, ant elder (JIRA) wrote:
> [ http://issues.apache.org/jira/browse/TUSCANY-2?
> page=comments#action_12362847 ]
>
> ant elder commented on TUSCANY-2:
> ---------------------------------
>
> This has been fixed. See: http://svn.apache.org/viewcvs.cgi?
> rev=368298&view=rev
>
>
>> JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
>> -------------------------------------------------------------------
>>
>> Key: TUSCANY-2
>> URL: http://issues.apache.org/jira/browse/TUSCANY-2
>> Project: Tuscany
>> Type: Bug
>> Environment: IBM JDK 5
>> Reporter: ant elder
>> Priority: Minor
>>
>
>
>>
>> When using IBM JDK 5 instead of the Sun JDK, testcase
>> ReflectionHelperTestCase fails in test testGetBean1AllMethods.
>> This is because JavaIntrospectionHelper method exactMethodMatch
>> doesn't use the equals method to compare strings:
>> if (method1.getName() != method2.getName()) {
>> instead of :
>> if (!method1.getName().equals
>> (method2.getName())) {
>>
>>
>
> --
> 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: (TUSCANY-2)
JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
Posted by "ant elder (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-2?page=comments#action_12362847 ]
ant elder commented on TUSCANY-2:
---------------------------------
This has been fixed. See: http://svn.apache.org/viewcvs.cgi?rev=368298&view=rev
> JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
> -------------------------------------------------------------------
>
> Key: TUSCANY-2
> URL: http://issues.apache.org/jira/browse/TUSCANY-2
> Project: Tuscany
> Type: Bug
> Environment: IBM JDK 5
> Reporter: ant elder
> Priority: Minor
>
> When using IBM JDK 5 instead of the Sun JDK, testcase ReflectionHelperTestCase fails in test testGetBean1AllMethods.
> This is because JavaIntrospectionHelper method exactMethodMatch doesn't use the equals method to compare strings:
> if (method1.getName() != method2.getName()) {
> instead of :
> if (!method1.getName().equals(method2.getName())) {
>
--
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] Closed: (TUSCANY-2) JavaIntrospectionHelper.exactMethodMatch
uses != instead of !equals
Posted by "Jeremy Boynes (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-2?page=all ]
Jeremy Boynes closed TUSCANY-2:
-------------------------------
Resolution: Fixed
Ant Elder reports this is fixed
> JavaIntrospectionHelper.exactMethodMatch uses != instead of !equals
> -------------------------------------------------------------------
>
> Key: TUSCANY-2
> URL: http://issues.apache.org/jira/browse/TUSCANY-2
> Project: Tuscany
> Type: Bug
> Environment: IBM JDK 5
> Reporter: ant elder
> Priority: Minor
>
> When using IBM JDK 5 instead of the Sun JDK, testcase ReflectionHelperTestCase fails in test testGetBean1AllMethods.
> This is because JavaIntrospectionHelper method exactMethodMatch doesn't use the equals method to compare strings:
> if (method1.getName() != method2.getName()) {
> instead of :
> if (!method1.getName().equals(method2.getName())) {
>
--
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