You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Molotkov (JIRA)" <ji...@apache.org> on 2007/03/05 11:52:50 UTC

[jira] Created: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

[classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
----------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3298
                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.

            Reporter: Vladimir Molotkov
            Priority: Critical


In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):

  xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...

Path separator after kernel.jar is extraneous and must be removed.

The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Ivan Popov commented on HARMONY-3298:
-------------------------------------

I checked affected JPDA test against harmony-jdk-r532613 and now it does not fail. 

However, I still see two slashes in path to kernel jar. It does not affect real work, but it might make sense to fix this also.

On Windows: <...>\deploy\jdk\jre\bin/default/\kernel.jar
On Linux: <...>/deploy/jdk/jre/bin/default//kernel.jar


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess commented on HARMONY-3298:
---------------------------------------

I still can't reproduce this failure.  Tested on windows and linux with IBM VME.
I assume it is a problem that only occurs on DRLVM?


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Resolved: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess resolved HARMONY-3298.
-----------------------------------

    Resolution: Fixed

Applied in r532472.  Can someone confirm that this issue is now resolved?  (Thanks for your help and patience Mikhail.)


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Updated: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov updated HARMONY-3298:
------------------------------------

    Attachment: H-3298_test-1.patch

I've foune a minor problem in my previous patch for test.
Here is the fixed one: replaced System.out.println() to fail() call.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov commented on HARMONY-3298:
-----------------------------------------

I could not reproduce the mentioned by Ivan minor problem both on Windows & Linux - bootclasspathes do not contain "//" or "/\" or "\/" or "\\" sequences.

So unless somebody else could reproduce this we could close this issue.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Updated: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Vladimir Molotkov updated HARMONY-3298:
---------------------------------------

    Attachment: luniglob.patch

Patch description:

removes path separator from bootstrap class path if needed.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Priority: Critical
>         Attachments: luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Ivan Popov commented on HARMONY-3298:
-------------------------------------

I agree, this issue can be closed. 

After HARMONY-3986 is resolved JDWP agent implementation should be changed to use appropriate VM property to report bootclasspath to debugger.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Vladimir Molotkov commented on HARMONY-3298:
--------------------------------------------

Mark,

I've attached fixed patch (tested it on Linux and Win (Ia32) and removed old one.
On Linux I used j9 VM for test. There was no extra ':' after security-kernel.jar.
On Windows (DRLVM) the problem also disappeared.

Could you please check the patch?

-Vladimir

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov commented on HARMONY-3298:
-----------------------------------------

Thanks, Ivan - now i could reproduce this as well (i've tried org.apache.harmony.boot.class.path not vm.boot.class.path before).
BTW, it's interesting why they differ?

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Assigned: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess reassigned HARMONY-3298:
-------------------------------------

    Assignee: Mark Hindess

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov commented on HARMONY-3298:
-----------------------------------------

Thanks, Ivan, for the link.
I've further investigated the problem and found that IBM VM has only org.apache.harmony.boot.class.path (not sun.* or vm.* ones) and it does not contain repeating dir separators.
DRLVM supports all 3 props and org.apache.harmony.* also does not contain repeating dir separators.
sun.boot.class.path and vm.boot.class.path are formed inside DRLVM (and indeed contains wrong repetitions).

So, i think this JIRA could be closed (as org.apache.harmony.boot.class.path which is classlib responsible for) is formed correctly and another JIRA against DRLVM about sun/vm boot classpath propertis could be opened.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Updated: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Vladimir Molotkov updated HARMONY-3298:
---------------------------------------

    Attachment:     (was: luniglob.patch)

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Vladimir Molotkov commented on HARMONY-3298:
--------------------------------------------

Regarding the last question: just for readability.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Ivan Popov commented on HARMONY-3298:
-------------------------------------

One of JPDA unit tests from jdktools component (org.apache.harmony.jpda.tests.jdwp.VirtualMachine.ClassPathsTest) fails because of this problem. The test gets bootclass path from debugged VM and fails if it contains empty segments.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Ivan Popov commented on HARMONY-3298:
-------------------------------------

I checked JDWP test against fresh Harmony build (r543086) on Windows and it still report '/\' in bootclasspath:

bootclasspaths = 49
	...\target\hdk\jdk\jre\bin/default/\kernel.jar
	...\target\hdk\jdk\jre\lib\boot\accessibility.jar
        <...>

JDWP agent uses JVMTI function from system property "vm.boot.class.path".

Here is the simple test that prints "*.boot.class.path" properties:

public class BootClassPathTest {
	public static void main(String[] args) {
		System.out.println("vm.boot.class.path=" + System.getProperty("vm.boot.class.path"));
		System.out.println("sun.boot.class.path=" + System.getProperty("sun.boot.class.path"));
	}
}

For harmony-jdk-r543086 on Windows it prints:

vm.boot.class.path=...\target\hdk\jdk\jre\bin/default/\kernel.jar;<...>
sun.boot.class.path=...\target\hdk\jdk\jre\bin/default/\kernel.jar;<...>


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess commented on HARMONY-3298:
---------------------------------------

After applying this patch I still see an extra ':' on linux after:

  deploy/jdk/jre/bin/default/security-kernel.jar

-Mark.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Closed: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess closed HARMONY-3298.
---------------------------------


As agreed above.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov commented on HARMONY-3298:
-----------------------------------------

I'm using relatevly fresh svn snapshot (from yesterday) and could reproduce the issue on IBM VME as well.
Here is the fragment containing double ';' on my machine:
xxx\harmony\svn\enhanced\classlib\trunk\deploy\jdk\jre\bin\default\security-kernel.jar;;xxx\harmony\svn\enhanced\classlib\trunk\deploy\jdk\jre\lib\boot\accessibility.jar


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Ivan Popov commented on HARMONY-3298:
-------------------------------------

I think it is caused by recent changes for EJC complier support, see HARMONY-3986 and corresponding discussion.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>            Assignee: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test-1.patch, H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Updated: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Vladimir Molotkov updated HARMONY-3298:
---------------------------------------

    Attachment: luniglob.c.patch

Simplified/fixed patch luniglob.c.patch tested on Linux (ia32) and Win.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.c.patch, luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Updated: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov updated HARMONY-3298:
------------------------------------

    Attachment: H-3298_test.patch

Here is the regression test for the issue.

Mark,

could you please check/commit the patch for the issue and regression test, please?
I've checked the fix on WinXP and it works fine for me.
Thanks!

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mikhail Markov commented on HARMONY-3298:
-----------------------------------------

Sorry, forgot to grant license to ASF for the attachment. Doing this now:-):
I grant licence to ASF for H-3298_test.patch.

> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: H-3298_test.patch, luniglob.c.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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


[jira] Commented: (HARMONY-3298) [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure

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

Mark Hindess commented on HARMONY-3298:
---------------------------------------

Also, why couldn't:

  bootstrapClassPath + (cutLeadingPathSeparator ? 1 : 0));

just be:

  bootstrapClassPath + cutLeadingPathSeparator);

since cutLeadingPathSeparator is either 0 or 1.

-Mark.


> [classlib][luni] Extraneous path separator in *.boot.class.path causes DaCapo ('jython' benchmark) failure
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Reprodiceable with dacapo-2006-10-MR2 on all systems with  /sys  directory (i.e., most Linux systems). Creating 'c:\sys' directory on Windows leads to 'jython' benchmark failure too.
>            Reporter: Vladimir Molotkov
>         Assigned To: Mark Hindess
>            Priority: Critical
>         Attachments: luniglob.patch
>
>
> In most cases *.boot.class.path properties contain the following fragment (here is Windows variant):
>   xxx\jdk\jre\bin/default/\kernel.jar;;xxx\jdk\jre\lib\boot\accessibility.jar;...
> Path separator after kernel.jar is extraneous and must be removed.
> The 'bug' causes failure of 'jython' benchamark of DaCapo suite on Linux and Windows (see 'Environment' description).
> Also 'garbage' in system properties lowers Harmony's product quality.

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