harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4190) [jdktools][samsa][eut] Harmony JDK java wrapper strips quotes for JVM properties and program arguments
Date Fri, 06 Jul 2007 06:15:04 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Popov closed HARMONY-4190.
-------------------------------


For me samsa wrapper is working well now. However, I noticed rare intermittent failures of
launching jdktools in CC/CI runs, but this may be addressed in a separate issue. So, I'm closing
this issue

> [jdktools][samsa][eut] Harmony JDK java wrapper strips quotes for JVM properties and
program arguments
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4190
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4190
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>         Environment: Windows/x86, harmony-jdk-r547543
>            Reporter: Ivan Popov
>            Assignee: Gregory Shimansky
>         Attachments: check_quotes_jdk.zip, free_cmd_line.patch, jdktools_samsa.patch
>
>
> In addition to an issue with Harmony JRE launcher (HARMONY-4189), Harmony JDK java wrapper
strips quotes from both JVM properties and program arguments specified in command line. This
is reproduced only on Windows. On Linux JDK java wrapper works similarly to JRE java launcher.

> I'm attaching archive with simple tests and scripts, which launches tests with different
quotation. Here is results on Windows, which demonstrates the difference with RI:
> $ sh check_props.sh
> Testing quotes for JVM properties
> ====== Checking JDK\jre/bin/java ======
> *** SUN JRE output:
> foo
> foo
> "foo"
> 'foo'
> *** Harmony JRE output:
> foo
> foo
> foo
> foo
> ====== Checking JDK/bin/java ======
> *** SUN JDK output:
> foo
> foo
> "foo"
> 'foo'
> *** Harmony JDK output:
> foo
> foo
> foo
> foo
> ============ Done ============
> Testing quotes for empty JVM properties
> ====== Checking JDK/jre/bin/java ======
> *** SUN JRE output:
> ""
> ''
> *** Harmony JRE output:
> ====== Checking JDK/bin/java ======
> *** SUN JDK output:
> ""
> ''
> *** Harmony JDK output:
> ============ Done ============
> $ sh check_args.sh
> Testing quotes for program arguments
> ====== Checking JDK/jre/bin/java ======
> *** SUN JRE output:
> foo
> foo
> "foo"
> 'foo'
> *** Harmony JRE output:
> foo
> foo
> "foo"
> 'foo'
> ====== Checking JDK/bin/java ======
> *** SUN JDK output:
> foo
> foo
> "foo"
> 'foo'
> *** Harmony JDK output:
> foo
> foo
> foo
> 'foo'
> ============ Done ============
> Testing quotes for empty program arguments
> ====== Checking JDK/jre/bin/java ======
> *** SUN JRE output:
> ""
> ''
> *** Harmony JRE output:
> ""
> ''
> ====== Checking JDK/bin/java ======
> *** SUN JDK output:
> ""
> ''
> *** Harmony JDK output:
> ''
> ============ Done ============
> This difference causes 13 EUT tests failures (org.eclipse.jdt.debug.tests.core.ArgumentTests)
mentioned in HARMONY-4186.

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


Mime
View raw message