RFR 8188226: jextract diagnostic generation should be improved

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Tue Jan 9 15:17:41 UTC 2018



On 09/01/18, 4:19 PM, Maurizio Cimadamore wrote:
> Looks good. Few questions:
>
> * is the copyright date correct? Or should it be 2016, 2018 ?

If I didn't touch the code to make any other change (other than 
copyright), I added 2016 (which I presume is the original date for those 
files).

> * why the different code to access system properties e.g. 
> Boolean.getBoolean (in Main) vs. PrivilegedAction (in LibClang) ?
>
Tools like jextract won't be run with security manager on. LibClang is 
used by jextract generated code + user code at runtime - we need to read 
property under doPrivileged there.

Thanks
-Sundar

> Maurizio
>
>
> On 08/01/18 16:39, Sundararajan Athijegannathan wrote:
>> Please review: http://cr.openjdk.java.net/~sundar/8188226/webrev.00/
>>
>> * stack traces printed only on "debug" [when jextract.debug property 
>> is set]
>> * default log level set to "warning" [user can change log level by 
>> -log option already]
>> * added resource for localizing messages.
>>
>> PS. Piggybacking to add missing copyright messages in few source files.
>>
>> Thanks,
>> -Sundar
>


More information about the panama-dev mailing list