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

2021-11-15 Thread Peter Firmstone (Jira)


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

Peter Firmstone commented on NETBEANS-2842:
---

Hi Eric,

The pack200 tests are jtreg tests, so require the jtreg test library 
from OpenJDK.  You'll need to set the JT_HOME environment variable.  
Best run in a Unix shell environment.

Both the jtreg tests and jtreg are GPL2.0 licenses, however the Harmony 
source code doesn't depend on it.

https://github.com/pfirmstone/Pack200.net/tree/trunk/test

Regards,

Peter.



> 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.20.1#820001)

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

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



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

2021-09-07 Thread Peter Firmstone (Jira)


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

Peter Firmstone commented on NETBEANS-2842:
---

Hi Eric,

You'll need to contact Emmanual, he's also an Apache Member I believe.

Regards,

Peter.



> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2021-09-01 Thread Peter Firmstone (Jira)


[ 
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2021-07-24 Thread Peter Firmstone (Jira)


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

Peter Firmstone commented on NETBEANS-2842:
---

Various pack200 implementations:

Pack200 from Harmony.

Pack200 from OpenJDK

Pack200 from Harmony with update ASM libs, testing with OpenJDK Pack200 
tests.

I haven't had time to work on this lately, however the pack200.net 
domain exists for this purpose.

Pack200 was intended to work with later bytecodes by not compressing 
later bytecode.  I was going to publish the Pack200 from OpenJDK as a 
stop gap until I could get the Pack200 from Harmony passing all OpenJDK 
pack 200 tests, with replacement AL2.0 unit tests.

https://github.com/pfirmstone/pack200

https://github.com/pfirmstone/Pack200-ex-openjdk

https://github.com/pfirmstone/Pack200.net

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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2021-03-19 Thread Peter Firmstone (Jira)


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

Peter Firmstone commented on NETBEANS-2842:
---

AL2.0 Apache Harmony pack200 application code and unit tests, also with OpenJDK 
GPL pack200 jtreg tests, until they are replaced by unit tests.

https://github.com/pfirmstone/Pack200.net

> 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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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