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 Beliaev (JIRA)" <ji...@apache.org> on 2007/03/06 12:03:24 UTC
[jira] Created: (HARMONY-3311) [classlib][winx86][build]
hy.test.vmargs is ignored by HUT run
[classlib][winx86][build] hy.test.vmargs is ignored by HUT run
--------------------------------------------------------------
Key: HARMONY-3311
URL: https://issues.apache.org/jira/browse/HARMONY-3311
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: windows/em64t
Reporter: Vladimir Beliaev
I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
$ cd <trunk>/working_classlib
$ time ant \
-Dbuild.module=auth \
-Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
-Dhy.test.vmargs="-Xint" \
test
Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
I've put here 'auth' module run example, still another modules may have the same issue - please check.
Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
Thanks
Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3311) [classlib][winx64][build]
hy.test.vmargs is ignored by HUT run
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov resolved HARMONY-3311.
--------------------------------------
Resolution: Fixed
I have applied a fix for this problem at the revision 523687. Please note that only modules that currently use Support_Exec.execJava() was updated. Vladimir, please check that this fix fully resolves your problem.
> [classlib][winx64][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
> Assigned To: Alexei Zakharov
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3311) [classlib][winx64][build]
hy.test.vmargs is ignored by HUT run
Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Beliaev closed HARMONY-3311.
-------------------------------------
I've verified the fix with the following way
1. removed jitrino.dll
2. checked the HWA run in default mode fails (jit mode)
3. checked the HWA run in -Xint mode passed
4. finally, run HUT with the cooomand given in issue description (with jitrino.dll removed)
Tests passed. I'm closing the bug.
Thanks a lot.
Vladimir Beliaev
> [classlib][winx64][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
> Assigned To: Alexei Zakharov
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3311) [classlib][winx64][build]
hy.test.vmargs is ignored by HUT run
Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Beliaev updated HARMONY-3311:
--------------------------------------
Summary: [classlib][winx64][build] hy.test.vmargs is ignored by HUT run (was: [classlib][winx86][build] hy.test.vmargs is ignored by HUT run)
> [classlib][winx64][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3311) [classlib][winx86][build]
hy.test.vmargs is ignored by HUT run
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481520 ]
Alexey Varlamov commented on HARMONY-3311:
------------------------------------------
There is a known workaround for this problem:
One may pass additional arguments via "<vmdll-name>.properties" file. By default it is located at <jre_home>/bin/default/harmonyvm.properties.
It is a text file in standard Java properties format; launcher reads this file before invoking a VM, and supplies all read values starting with "-" to the VM's JNI_CreateJavaVM prior to user-entered cmd-line arguments (so the last may override).
> [classlib][winx86][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3311) [classlib][winx64][build]
hy.test.vmargs is ignored by HUT run
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov reassigned HARMONY-3311:
----------------------------------------
Assignee: Alexei Zakharov
> [classlib][winx64][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
> Assigned To: Alexei Zakharov
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3311) [classlib][winx64][build]
hy.test.vmargs is ignored by HUT run
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485161 ]
Alexei Zakharov commented on HARMONY-3311:
------------------------------------------
About the original problem. The logs that were observed by Vladimir are generated by tests.support.Support_Exec class. And the problem is only actual for tests that use this class for creating new JVM in a separate native process via SupportExec.execJava(). This method does not pass hy.test.vmargs to created JVM indeed. A few tests from archive, auth, instrument, logging, luni and security are affected by this problem.
> [classlib][winx64][build] hy.test.vmargs is ignored by HUT run
> --------------------------------------------------------------
>
> Key: HARMONY-3311
> URL: https://issues.apache.org/jira/browse/HARMONY-3311
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: windows/em64t
> Reporter: Vladimir Beliaev
> Assigned To: Alexei Zakharov
>
> I've run HUT with drlvm on windows/em64t. Because of this configuration works for Interpreter only, I've specified -Xint option for run:
> $ cd <trunk>/working_classlib
> $ time ant \
> -Dbuild.module=auth \
> -Dtest.jre.home="<trunk>/working_vm/build/deploy/jdk/jre"
> -Dhy.test.vmargs="-Xint" \
> test
> Still I saw the "assert dialog" from jitrino execution path for some runs which means these runs ignore -Xint option.
> Base on log output the run cmd (printed starting with "[junit] prefix" does not contain -Xint argument.
> I've put here 'auth' module run example, still another modules may have the same issue - please check.
> Please get this fixed, the issue may be not just windows/em64t specific, still I need to run HUT in interpreter mode (because of jitrino mode is not available yet).
> Thanks
> Vladimir
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.