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] Commented: (HARMONY-3870) [jdktools][tests] run of jdktools tests leads to debug window on WinXP
Date Tue, 15 May 2007 12:45:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495978
] 

Ivan Popov commented on HARMONY-3870:
-------------------------------------

A correct way to run SAMSA tests against external JDK bundle is to point test.jre.home to
JRE location ("-Dtest.jre.home=HDK/jdk/jre"), not to JDK location. In this case SAMSA test
will try to launch java wrapper as ${test.jre.home}/../bin/java[.exe]

I've checked r538110 on Win2003 and WinXP and I cannot reproduce crash if JDK location is
specified instead of JRE. In this case the test reports that it cannot launch executable java.exe
(as expected):

...\trunk\working_jdktools\modules\samsa\build.xml:121: Execute failed: java.io.IOException:
CreateProcess: ...\trunk\target\hdk\jdk\..\bin\java.exe -version error=3


> [jdktools][tests] run of jdktools tests leads to debug window on WinXP
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-3870
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3870
>             Project: Harmony
>          Issue Type: Bug
>          Components: JDK
>            Reporter: Vladimir Ivanov
>         Attachments: screenshot-1.jpg
>
>
> run of jdktools tests on HDK leads to debug window on WinXP if runtime specified as "-Dtest.jre.home=HDK/jdk"
> Note it works fine on JRE ("-Dtest.jre.home=HDK/jdk/jre").
> -------------- execution log -----------------------
>      [exec] run-tests:
>      [exec]      [echo] Running SAMSA tests
>      [exec]      [echo] test.jre.home=C:\cruise_hdk\cc\projects\trunk\target\hdk\jdk\jre
>      [exec]      [echo] Run jdk/bin/java -version in C:\cruise_hdk\cc\projects\trunk\working_jdktools\build\test_report
>      
>      [exec] BUILD FAILED
>      [exec] C:\cruise_hdk\cc\projects\trunk\working_jdktools\build.xml:242: The following
error occurred while executing this line:
>      [exec] C:\cruise_hdk\cc\projects\trunk\working_jdktools\make\build-test.xml:60:
The following error occurred while executing this line:
>      [exec] C:\cruise_hdk\cc\projects\trunk\working_jdktools\make\properties.xml:319:
The following error occurred while executing this line:
>      [exec] C:\cruise_hdk\cc\projects\trunk\working_jdktools\modules\samsa\build.xml:121:
exec returned: -1073741819
> ---------------------------

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