jextract to write classifies if a directory is specified with -o

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Tue Mar 6 16:36:44 UTC 2018


I wonder if we should have -d (for directory) option for directory for 
output. That would make it consistent with other tools like javac. With 
-d, we can create directory if it does not exist.

-Sundar

On 06/03/18, 9:40 PM, Henry Jen wrote:
> Hi,
>
> jextract use -o options to specify output file, typically a jar file is created.
>
> Developer may want to have class files rather than get an jar file and extract it for some reason, like to package with other libraries or more “civilized” API on top of native API.
>
> This webrev[1] enable to write class files if a directory is specified as destination instead of getting an error.
>
> [1] http://cr.openjdk.java.net/~henryjen/panama/buildClasses/webrev/
>
> Cheers,
> Henry


More information about the panama-dev mailing list