RFR 8198898: Compilation errors in jdk.crypto.mscapi with VS 2017
weijun.wang at oracle.com
Tue Mar 6 14:36:14 UTC 2018
Please take a review at
1. In fact, I am not able to build now because there are other codes not compiling with VS 2017 and they fail before security.cpp is compiled. I just installed VS 2017 locally, extracted the command lines (cl and link) compiling security.cpp when VS 2013 is used, and modified them to run with VS 2017. I can confirm that before this change the warnings in the bug description showed up and they disappeared after the change.
2. The Java_sun_security_mscapi_KeyStore_getKeyLength function seems useless. There is no getKeyLength() method in sun.security.mscapi.KeyStore at all. I looked at the history and it looks like this from the beginning. Maybe I should remove the function?
More information about the security-dev