RFR: 8303764: sunmscapi.dll cannot compile under permissive-

Weijun Wang weijun at openjdk.org
Wed Mar 8 14:34:55 UTC 2023


The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.

----------------------------------------------------------------------
On Tue, 7 Mar 2023 17:27:56 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> security.cpp contains a few invalid implicit conversions between pointer types that will not fly when the permissive- compiler option is active. Given that permissive- will become the Visual C++ compiler's default mode of operation in the future, it is better to handle this now so future compiler upgrades will not cause issues. Problems here are very easily solved with explicit casts

I believe `jchar` and `wchar_t` are both 16 bit integers. I just hope we use the same style throughout JDK. If you believe this is a JDK wide issue, how about filing an umbrella bug and make the current bug as part of it? Thus at least the build team will notice it and maybe they will make a plan.

-------------

PR: https://git.openjdk.org/jdk/pull/12907



More information about the security-dev mailing list