RFR: 8307160: [REDO] Enable the permissive- flag on the Microsoft Visual C compiler [v6]
Julian Waters
jwaters at openjdk.org
Tue Oct 10 03:32:08 UTC 2023
On Thu, 28 Sep 2023 03:12:03 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). 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 26 commits:
>
> - Merge branch 'openjdk:master' into patch-10
> - 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
> - ... and 16 more: https://git.openjdk.org/jdk/compare/84390dd0...1e2b39f9
Reopening - I will use this as the portion of the change for java.desktop and jdk.accessibility
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15096#issuecomment-1754296794
More information about the security-dev
mailing list