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

Julian Waters jwaters at openjdk.org
Mon Aug 7 06:42:42 UTC 2023


On Tue, 1 Aug 2023 01:52:24 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> 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

That broken mismatched exception specifier in allocation.cpp has been annoying the absolute **** out of me for a long time now, feels good to see it go

Ready for initial rounds of review

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

PR Comment: https://git.openjdk.org/jdk/pull/15096#issuecomment-1659458669
PR Comment: https://git.openjdk.org/jdk/pull/15096#issuecomment-1667269318



More information about the security-dev mailing list