RFR: 8304717: Declaration aliasing between boolean and jboolean is wrong

Julian Waters jwaters at openjdk.org
Wed Mar 22 14:19:48 UTC 2023


A couple of spots wrongly refer to boolean and jboolean as the same thing. While this does still compile thanks to a happy accident and implicit conversions, they are not the same at all, and should be fixed before a future compiler error happens if their declarations are touched

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

Commit messages:
 - awt_PrintJob.cpp
 - jboolean

Changes: https://git.openjdk.org/jdk/pull/13139/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13139&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304717
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/13139.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13139/head:pull/13139

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


More information about the core-libs-dev mailing list