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

Julian Waters jwaters at openjdk.org
Thu Aug 17 08:38:01 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. 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 incrementally with one additional commit since the last revision:

  Document changes in awt_DnDDS.cpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15096/files
  - new: https://git.openjdk.org/jdk/pull/15096/files/4e3329b8..2f8997e5

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

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 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