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

Julian Waters jwaters at openjdk.org
Mon Aug 7 06:42:41 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). It can be done with some effort, given that the significantly stricter gcc can now compile an experimental Windows JDK as of 2023, and will serve to significantly cut down on monstrosities in ancient Windows code

Julian Waters has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 22 additional commits since the last revision:

 - 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
 - Earlier fix in awt_ole.h was not complete
 - Merge branch 'openjdk:master' into patch-10
 - Likewise for awt_Frame.cpp
 - ... and 12 more: https://git.openjdk.org/jdk/compare/6432a4e7...51230f3d

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15096/files
  - new: https://git.openjdk.org/jdk/pull/15096/files/8d8cb5aa..51230f3d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15096&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15096&range=00-01

  Stats: 5173 lines in 265 files changed: 2892 ins; 846 del; 1435 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