RFR: 8307160: [REDO] Enable the permissive- flag on the Microsoft Visual C compiler [v2]
Thomas Stuefe
stuefe at openjdk.org
Tue Aug 8 20:56:37 UTC 2023
On Mon, 7 Aug 2023 06:42:41 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
>
> 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/59027534...51230f3d
I think I see now that the added scopes were to prevent variable life scopes from intersecting goto's?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15096#issuecomment-1670293563
More information about the security-dev
mailing list