You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Peter Firmstone (Jira)" <ji...@apache.org> on 2021/09/01 10:14:00 UTC

[jira] [Commented] (NETBEANS-2842) Using of deprecated pack200 tool in nbm packaging

    [ https://issues.apache.org/jira/browse/NETBEANS-2842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408078#comment-17408078 ] 

Peter Firmstone commented on NETBEANS-2842:
-------------------------------------------

Hello Eric,

You'd have to check whether it compiles and passes tests.  It's a bit 
more ambitious, the project attempts to preserve both the C and Java 
versions of Pack200, it's forked off JDK14.  I'm sure Emmanual would be 
happy to receive some assistance if anyone would like to.

I only looked at maintaining a Java implementation.  From my 
observations, Apache Harmony's pack200 had the most maintainable code, 
but doesn't yet support the latest features.  Last I checked Emmanual's 
version didn't yet build, however that may have changed.

I created three repositories,

 1. Apache Harmony based Pack 200.
 2. OpenJDK Pack 200.
 3. Apache Harmony, including the tests from OpenJDK.

The OpenJDK pack200 implementation uses the jtreg test suite, I have 
left the tests unmodified, the OpenJDk Pack 200 code builds and passes 
all tests.

The Apache Harmony version doesn't yet pass all OpenJDK pack 200 tests, 
however the Apache Harmony code is easier to modify, so will be easier 
to update to support later bytecode.

Regards,

Peter.



-- 
Regards,
  
Peter Firmstone
0498 286 363
Zeus Project Services Pty Ltd.


> Using of deprecated pack200 tool in nbm packaging
> -------------------------------------------------
>
>                 Key: NETBEANS-2842
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2842
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Plugin Manager
>    Affects Versions: 11.3
>            Reporter: Benjamin Graf
>            Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). It should be thought about an alternative as it might get removed in next JDK releases.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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