RFR: 8307160: [REDO] Enable the permissive- flag on the Microsoft Visual C compiler [v5]

Julian Waters jwaters at openjdk.org
Thu Sep 14 03:25:15 UTC 2023


> We should set the -permissive- flag for the Microsoft Visual C compiler, as was requested by the now backed out [JDK-8241499](https://bugs.openjdk.org/browse/JDK-8241499). Doing so makes the Visual C compiler much less accepting of ill formed code, which will improve code quality on Windows in the future.

Julian Waters has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 25 commits:

 - Merge branch 'master' into patch-10
 - Document changes in awt_DnDDS.cpp
 - Remove negation in os_windows.cpp
 - Mismatched declaration in D3DGlyphCache.cpp
 - Fields in awt_TextComponent.cpp
 - reinterpret_cast needed in AccessBridgeJavaEntryPoints.cpp
 - Qualifiers in awt_PrintDialog.h should be removed
 - Likewise for awt_DnDDT.cpp
 - awt_ole.h include order issue in awt_DnDDS.cpp
 - Revert awt_ole.h
 - ... and 15 more: https://git.openjdk.org/jdk/compare/11d431b2...1d3d6b5e

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

Changes: https://git.openjdk.org/jdk/pull/15096/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15096&range=04
  Stats: 802 lines in 17 files changed: 171 ins; 127 del; 504 mod
  Patch: https://git.openjdk.org/jdk/pull/15096.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15096/head:pull/15096

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



More information about the security-dev mailing list