You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2007/03/12 02:54:09 UTC

[jira] Created: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

[classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
---------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3351
                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Ubuntu
            Reporter: Sean Qiu


After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".

>>>>>>>>>>>
public class FrameRTest extends TestCase {
    /**
     * @tests java.awt.Frame#setTitle(String)
     */
    public void test_setTitleLjava_lang_String() {
        Frame frame = new Frame();
        frame.setTitle(null);
        assertEquals("", frame.getTitle());
    }
}
>>>>>>>>>>>

Result
RI: Pass
Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480750 ] 

Alexey Petrenko commented on HARMONY-3351:
------------------------------------------

Sean, please verify.

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-3351.
--------------------------------------

    Resolution: Duplicate

This issue is duplicate of HARMONY-3318

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov updated HARMONY-3351:
-------------------------------------

    Patch Info: [Patch Available]

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov updated HARMONY-3351:
-------------------------------------

    Priority: Minor  (was: Major)

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-3351:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI

Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Qiu closed HARMONY-3351.
-----------------------------


Thanks Alexey .
Verified by Sean.

> [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3351
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3351
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Ubuntu
>            Reporter: Sean Qiu
>            Assignee: Alexey Petrenko
>            Priority: Minor
>
> After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "".
> >>>>>>>>>>>
> public class FrameRTest extends TestCase {
>     /**
>      * @tests java.awt.Frame#setTitle(String)
>      */
>     public void test_setTitleLjava_lang_String() {
>         Frame frame = new Frame();
>         frame.setTitle(null);
>         assertEquals("", frame.getTitle());
>     }
> }
> >>>>>>>>>>>
> Result
> RI: Pass
> Hr: Fail

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.