RFR: 8295146: Clean up native code with newer C/C++ language features [v2]

Kim Barrett kbarrett at openjdk.org
Mon Nov 14 13:42:02 UTC 2022


On Mon, 14 Nov 2022 04:14:24 GMT, Julian Waters <jwaters at openjdk.org> wrote:

>> After [JDK-8292008](https://bugs.openjdk.org/browse/JDK-8292008) and [JDK-8247283](https://bugs.openjdk.org/browse/JDK-8247283), some C and C++ code across the JDK can be replaced and simplified with cleaner language features that were previously not available due to required compatibility with the now unsupported Visual C++ 2017 compiler. These cleanups were highlighted by the very briefly integrated 8296115
>> 
>> No changes to the behaviour of the JDK has resulted in any way from this commit
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
> 
>   ATTRIBUTE_SCANF

Changes requested by kbarrett (Reviewer).

make/hotspot/lib/CompileJvm.gmk line 67:

> 65:   # Hotspot cannot handle an empty build number
> 66:   VERSION_BUILD := 0
> 67: endif

I think the proposed "solution" is *much* worse than this.

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

PR: https://git.openjdk.org/jdk/pull/11081


More information about the security-dev mailing list