harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5659) [drlvm] Support for Windows Vista
Date Fri, 28 Mar 2008 09:50:24 GMT

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

Alexei Zakharov updated HARMONY-5659:
-------------------------------------

    Summary: [drlvm] Support for Windows Vista  (was: Support for Windows Vista)

> [drlvm] Support for Windows Vista
> ---------------------------------
>
>                 Key: HARMONY-5659
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5659
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>    Affects Versions: 5.0M6
>         Environment: Windows Vista SP1
>            Reporter: Dmitry Egorov
>             Fix For: 5.0M6
>
>         Attachments: vm_init.patch
>
>
> When running Harmony under Vista, it shows the following error:
> "Windows 6.0 is not supported
> HMYEXEL062E Внутренняя ошибка VM: Не удалось создать
Java VM
> FAILED to invoke JVM."
> The following code from working_vm\vm\vmcore\src\init\vm_init.cpp causes the error_message:
> if((osvi.dwMajorVersion == 4 && osvi.dwMinorVersion == 0) ||  // NT 4.0
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0) ||  // Windows
2000
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1) ||  // Windows
XP
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2)) { // Windows.NET
>             return JNI_OK;
>     }
>     printf("Windows %d.%d is not supported\n", osvi.dwMajorVersion,
> osvi.dwMinorVersion);
> It seems to be written before Vista appeared. 
> Adding an option for 6.0 version makes Harmony work on Vista, at least on a simple "Hello,
World" app.

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