[External] : Is a jextracted jar supposed to be published?
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Thu Jan 28 17:49:08 UTC 2021
On Thu, 2021-01-28 at 18:33 +0100, Sebastian Stenzel wrote:
> > Am 28.01.2021 um 16:53 schrieb Maurizio Cimadamore <
> > maurizio.cimadamore at oracle.com>:
> >
> > The current jextract does NOT have a jar output - precisely not to
> > make
> > any claim re. distribute-ability.
>
> Oh I didn't know that. Last time I tried, it produced a jar, since
> then I always created sources. In that case I will experiment with
> creating class files directly. Thanks for the clarification!
>
I believe that was what jextract generated in the EA we shipped before
last September, yes. The "new" jextract we started to ship in recent EA
builds is simpler, and more direct - but the API it generates is quite
different from what it used to be - e.g. more low level (jextract now
is a thin wrapper around the VarHandle/MethodHandle layer - see [1]).
[1]
http://cr.openjdk.java.net/~mcimadamore/panama/jextract_distilled.html
>
More information about the panama-dev
mailing list