JDK-8057122 also reproduce on Windows Server 2012 r2
Antoine Mottier
antoine.mottier at bonitasoft.com
Thu Sep 11 13:14:47 UTC 2014
Thanks Ivan!
As suggest by Alan Bateman I did a test with a manifest include in the
launcher and it works!
Adding manifest like the one provided here:
http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074%28v=vs.85%29.aspx
fix the issue and os.name is correctly reported as Windows 8.1 (didn't
tested yet with Windows server).
Regards,
--
Antoine
2014-09-11 14:20 GMT+02:00 Ivan Gerasimov <ivan.gerasimov at oracle.com>:
> Thanks Antoine!
>
> I've added your update to the bug report.
> https://bugs.openjdk.java.net/browse/JDK-8057122
>
> Sincerely yours,
> Ivan
>
>
> On 11.09.2014 16:05, Antoine Mottier wrote:
>
>> Hi all,
>>
>> Few days ago I report an issue about os.name value when using jvm.dll on
>> Windows 8.1 ( JDK-8057122).
>> Today I reproduce the same issue on Windows Server 2012 r2. Running the
>> Java class using java.exe will report correct (meaning including r2)
>> os.name
>> version, using the dll, "r2" will not be part of os.name.
>>
>> Source code of a custom launcher that load the dll is already available on
>> the bug report but here is a download link to the full Visual Studio 2013
>> project:https://www.dropbox.com/s/2fbtili51b7r66a/TestJvm.zip?dl=0
>>
>> I can do any kind of additional tests if needed, I just have a lack of
>> knowledges about Windows applications building process.
>>
>> Thanks,
>> --
>> Antoine Mottier
>>
>
>
More information about the core-libs-dev
mailing list