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

Julian Waters jwaters at openjdk.org
Tue Mar 7 17:37:17 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.

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

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

Commit messages:
 - sunmscapi.dll cannot compile under permissive-

Changes: https://git.openjdk.org/jdk/pull/12907/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12907&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303764
  Stats: 8 lines in 1 file changed: 0 ins; 1 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/12907.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12907/head:pull/12907

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


More information about the security-dev mailing list