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] Updated: (HARMONY-4189) [classlib][launcher][eut] Harmony JRE java launcher strips quotes for JVM properties
Date Fri, 15 Jun 2007 13:34:28 GMT

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

Ivan Popov updated HARMONY-4189:
--------------------------------

    Attachment: check_quotes_jre.zip

> [classlib][launcher][eut] Harmony JRE java launcher strips quotes for JVM properties
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4189
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4189
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows/x86, Linux/x86, harmony-jdk-r547543
>            Reporter: Ivan Popov
>         Attachments: check_quotes_jre.zip
>
>
> Harmony JRE java launcher works differently from RI for quoted JVM properties specified
in command line. It strips both double and single quotes for a property value. With quoted
program arguments Harmony JRE launcher works correctly. 
> I'm attaching archive with simple tests and scripts launching these tests with different
quotation. Here is tests output for window, which shows 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
> ============ Done ============
> Testing quotes for empty JVM properties
> ====== Checking JDK/jre/bin/java ======
> *** SUN JRE output:
> ""
> ''
> *** Harmony JRE 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'
> ============ Done ============
> Testing quotes for empty program arguments
> ====== Checking JDK/jre/bin/java ======
> *** SUN JRE output:
> ""
> ''
> *** Harmony JRE output:
> ""
> ''
> ============ Done ============
> On Linux results are the same.
> 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