You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrew Zhang (JIRA)" <ji...@apache.org> on 2006/10/17 09:00:36 UTC

[jira] Created: (HARMONY-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

[classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
--------------------------------------------------------------------------------------------------------

                 Key: HARMONY-1887
                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Andrew Zhang


Please consider following code:
public static void main(String[] args) {
	Toolkit toolkit = Toolkit.getDefaultToolkit();
	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
	System.out.println(xpstyleDll);
}

RI output:
C:\WINDOWS\resources\Themes\luna\luna.msstyles

Harmony output:
null

-- 
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-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1887?page=all ]

Paulex Yang resolved HARMONY-1887.
----------------------------------

    Resolution: Fixed

Dmitry, I haven't got response yet, so I just commited the fix patch at revision r472526(because it works for me on WinXP locally) without test, I'll merge the test into proper place if I get confirmation. Thank you for this enhancement.

Andrew, please verify the problem is fully resolved as you expected, thank you.

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: H1887-fix.patch, H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Dmitry A. Durnev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1887?page=all ]

Dmitry A. Durnev updated HARMONY-1887:
--------------------------------------

    Attachment: H1887-tests.patch

Attached regression test...

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Attachments: H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1887?page=comments#action_12447479 ] 
            
Paulex Yang commented on HARMONY-1887:
--------------------------------------

Dmitry, I'm a little confused, it seems to be a Windows only feature, so shouldn't the regression test be added to windows specific test class? Please correct me because if I missed something.

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: H1887-fix.patch, H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Dmitry A. Durnev (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1887?page=all ]

Dmitry A. Durnev updated HARMONY-1887:
--------------------------------------

    Attachment: H1887-fix.patch

Attached fix...

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Attachments: H1887-fix.patch, H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Andrew Zhang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1887?page=comments#action_12448375 ] 
            
Andrew Zhang commented on HARMONY-1887:
---------------------------------------

Thanks Paulex,  

It looks fine to me.

Best regards,
Andrew

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: H1887-fix.patch, H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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] Assigned: (HARMONY-1887) [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1887?page=all ]

Paulex Yang reassigned HARMONY-1887:
------------------------------------

    Assignee: Paulex Yang

> [classlib][awt] Toolkit#getDesktopProperty doesn't support "win.xpstyle.dllName" property on windows xp.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1887
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1887
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Andrew Zhang
>         Assigned To: Paulex Yang
>         Attachments: H1887-fix.patch, H1887-tests.patch
>
>
> Please consider following code:
> public static void main(String[] args) {
> 	Toolkit toolkit = Toolkit.getDefaultToolkit();
> 	String xpstyleDll = (String) toolkit.getDesktopProperty("win.xpstyle.dllName");
> 	System.out.println(xpstyleDll);
> }
> RI output:
> C:\WINDOWS\resources\Themes\luna\luna.msstyles
> Harmony output:
> null

-- 
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