You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2006/12/27 12:03:21 UTC

[jira] Created: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

[jdktools][jdwp] JDWP agent uses non-standard VM property
---------------------------------------------------------

                 Key: HARMONY-2894
                 URL: http://issues.apache.org/jira/browse/HARMONY-2894
             Project: Harmony
          Issue Type: Bug
          Components: JDK
            Reporter: Ivan Popov
            Priority: Trivial


Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.


-- 
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-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Ivan Popov updated HARMONY-2894:
--------------------------------

    Issue Type: Improvement  (was: Bug)

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Trivial
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Commented: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Andrey Yakushev commented on HARMONY-2894:
------------------------------------------

I just checked 'H2894_jdwp_agent.patch' on the following platforms: 
    Windows 32 Revision: 556025 
    Windows 64 Revision: 556026 
    Linux 32 Revision: 557211 
    Linux 64 Revision: 556949 
VM compiled in release mode. All tests passed succsesfully. 

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Closed: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Ivan Popov closed HARMONY-2894.
-------------------------------


Thanks, Alexei, Andrey.
Verified in harmony-jdk-r558651, closing this issue.

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Assignee: Alexei Zakharov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Commented: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Andrey Yakushev commented on HARMONY-2894:
------------------------------------------

In my opinion, patch is applied successfully


> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Assignee: Alexei Zakharov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Updated: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Ivan Popov updated HARMONY-2894:
--------------------------------

    Attachment: H2894_jdwp_agent.patch

I'm attaching patch 'H2894_jdwp_agent.patch' for bootclasspath issue in JDWP agent. With this patch agent attempts to get bootclasspath value from the following system properties sequentially:

  sun.boot.class.path
  vm.boot.class.path
  org.apache.harmony.boot.class.path

Now affected JDWP test org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ClassPathsTest works well for all DRLVM, IBM VME and RI. This patch also removes this test from exclude list.


> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Resolved: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Alexei Zakharov resolved HARMONY-2894.
--------------------------------------

    Resolution: Fixed

Thanks Ivan and Andrey, The patch was applied at the revision 557642. Please verify everything is ok..

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Assignee: Alexei Zakharov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Updated: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Ivan Popov updated HARMONY-2894:
--------------------------------

    Patch Info: [Patch Available]

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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


[jira] Assigned: (HARMONY-2894) [jdktools][jdwp] JDWP agent uses non-standard VM property

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

Alexei Zakharov reassigned HARMONY-2894:
----------------------------------------

    Assignee: Alexei Zakharov

> [jdktools][jdwp] JDWP agent uses non-standard VM property
> ---------------------------------------------------------
>
>                 Key: HARMONY-2894
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2894
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Assignee: Alexei Zakharov
>            Priority: Trivial
>         Attachments: H2894_jdwp_agent.patch
>
>
> Current implementation of JDWP agent uses "vm.boot.class.path" VM property for returning bootclasspath value in VirtualMacnine.ClassPath command. This property is provided only in DRLVM. It makes sense to check also "sun.boot.class.path" property which is de-facto provided by most other JVMs. This will improve usability of Harmony's JDWP agent running with different JVMs.

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