[foreign-jextract] RFR: 8259226: jextract should differentiate between clang errors vs other runtime issues
Athijegannathan Sundararajan
sundar at openjdk.java.net
Tue Jan 5 13:09:07 UTC 2021
On Tue, 5 Jan 2021 11:44:05 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> CLANG_ERROR error code added. Also OUTPUT_ERROR exit code is used as expected.
>
> While the changes look good, I think that the category CLANG_ERROR seems too broad. I think it would be useful to distinguish between genuine errors (e.g. syntax error in header) and an error that occurs because of some issues in the internal parsing machinery. The latter to me seems more a case of RUNTIME_ERROR than CLANG_ERROR. I have pointed out some examples in the code.
Closing this PR. Will recreate new one.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/429
More information about the panama-dev
mailing list