RFR: 8305955: Remove Visual C++ specific workaround in javac

Julian Waters jwaters at openjdk.org
Tue Apr 18 04:18:41 UTC 2023

On Thu, 13 Apr 2023 11:36:15 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> Visual C++ no longer requires the use of the i64 literal syntax and instead recommends the use of LL instead, so we should remove this workaround in the JNIWriter (this also helps when users write Windows JNI code meant to be compiled with alternate compilers other than Visual C++)

As for confirmation that this works on, at the very minimum, Visual C++ 2015: https://godbolt.org/z/nqb7qcE4Y


PR Comment: https://git.openjdk.org/jdk/pull/13457#issuecomment-1512409859

More information about the compiler-dev mailing list