RFR: 7903674: jextract should ignore non-enum constants inside enum [v5]

Athijegannathan Sundararajan sundar at openjdk.org
Tue Feb 20 14:44:28 UTC 2024


> * checking cursor kind of child cursor to be CursorKind.EnumConstantDecl. 
> * Piggybacking to fix similar check of record child element kinds to be CursorKind.FieldDecl.  
> * Added null check for createTree return value in collectNestedTypes method as well.
> * In addition to jextract tests, I ran all samples on Mac OS. All fine with this change. Also, ran jextract script for Mac OS from  https://github.com/manuelbl/JavaDoesUSB.git.

Athijegannathan Sundararajan has updated the pull request incrementally with one additional commit since the last revision:

  review comments

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

Changes:
  - all: https://git.openjdk.org/jextract/pull/221/files
  - new: https://git.openjdk.org/jextract/pull/221/files/aca001e3..b3e86a58

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=221&range=04
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=221&range=03-04

  Stats: 5 lines in 2 files changed: 0 ins; 2 del; 3 mod
  Patch: https://git.openjdk.org/jextract/pull/221.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/221/head:pull/221

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


More information about the jextract-dev mailing list