RFR: 7903776: jextract generates uncompilable code when C identifier with the name from "java.lang" classes is used

Athijegannathan Sundararajan sundar at openjdk.org
Tue Jul 16 13:39:20 UTC 2024


Unqualified names are mangled by NameMangler. But it was complete (didn't include "Boolean"). For uniformity & future proof mangling all type names from "java.lang" package.

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

Commit messages:
 - 7903776: jextract generates uncompilable code when C identifier with the name from "java.lang" classes is used

Changes: https://git.openjdk.org/jextract/pull/253/files
  Webrev: https://webrevs.openjdk.org/?repo=jextract&pr=253&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903776
  Stats: 95 lines in 3 files changed: 94 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jextract/pull/253.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/253/head:pull/253

PR: https://git.openjdk.org/jextract/pull/253


More information about the jextract-dev mailing list