Hi Jaroslav,

Am Donnerstag, dem 12.08.2021 um 11:31 +0200 schrieb Jaroslav Tulach:
> > 
> > 
> > could you point me of a (preferrably small) plugin that uses pack200?
> > I
> > have rough prototype and would like to give it a spin.
> 
> Hello Matthias,
> I was primarily interested in the python support: 
> http://plugins.netbeans.org/
> plugin/61688/python - the page is no longer available. I have just
> zipped 
> everything I have locally and uploaded it to: 
> http://xelfi.cz/test/python/
> nbpython.zip

thank you. That helped and showed, that commons-compress is not a
solution. I knew, that the pack200 format is tightly tied to the class
file format and indeed it seems every JDK release got its own version.

>From my reading of the commons compress code only supports:

Major Version 150 and minor version 7. 

[https://github.com/apache/commons-compress/blob/master/src/main/java/org/apache/commons/compress/harmony/unpack200/SegmentHeader.java#L131-L155]

I only found the specification for the pack200 version associated with
JDK 7, which already mentions these values as "former values".

The nbpython compression code declares major version 160 and minor
version 1, which is JDK 7.

So at this point this concludes the experiment. Sorry for the bad news.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to