jextract warnings
Jonathan Rosenne
jr at qsm.co.il
Wed May 15 13:13:08 UTC 2024
Intellij IDEA reports several warnings with the code generated by jextract. How difficult would it be to improve it? Of course I could let IDEA fix these warnings but I am not sure this is a good idea.
The most common ones in my case are:
1. The final is superfluous:
/**
* The layout of this struct
*/
public static final GroupLayout layout() {
return $LAYOUT;
}
1. Field may be final
private static long[] iv$DIMS = { 8 };
1. Many classes have unused imports
Best Regards,
Jonathan Rosenne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240515/4fc655c9/attachment.htm>
More information about the jextract-dev
mailing list