Visual Studio C4146 is "unary minus operator applied to unsigned type, result still unsigned". There are several places in HotSpot where we locally suppress that warning using explicit #pragmas. Some are even in shared code with no conditionalization on the compiler.
However,JDK-8254072 disabled that warning globally when compiling HotSpot, so there's no longer any need for local suppression of that warning.
However,
- relates to
-
JDK-8254072 AArch64: Get rid of --disable-warnings-as-errors on Windows+ARM64 build
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/6f2169ff
-
Review(master)
openjdk/jdk/28564