[External] : Is a jextracted jar supposed to be published?

Sebastian Stenzel sebastian.stenzel at gmail.com
Thu Jan 28 18:24:58 UTC 2021


> Am 28.01.2021 um 18:49 schrieb Maurizio Cimadamore <maurizio.cimadamore at oracle.com>:
> 
> 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

Yes, I noticed the API change! :D I just wasn't aware that it stopped producing jars, since I never tried it.


More information about the panama-dev mailing list