Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Pack200 tools and api

Hi Ed,

To fix the licensing issue, I've decided to utilise Apache Harmony Pack200 implementation.

I've then added the GPL2 jtreg tests from OpenJDK, however these tests are not part of the release packages.

The pack200 api is now Apache License version 2.

I'm also going to make the OpenJDK version depend on the Apache Licensed Pack200 api.

So the plan is as follows:

Release maven OSGi compatible jar files, for both implementations and Pack200 API separately.

I've purchased a domain name pack200.net so the public api will be in the package net.pack200.

This will allow current users to utilise either implementation at runtime.  The AL2 implementation is still at Java5 bytecode, the GPLv2 implementation support up to Java 8 bytecode.

By using the jtreg tests from the OpenJDK, it will allow the AL2 implementation to be brought up to speed faster.

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

Regards,

Peter.


On 3/3/2020 3:55 PM, Ed Merks wrote:

Peter,

Thanks for sharing this information.   This relates to the following Bugzilla:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=536106

It's not entirely clear how much of the content is GPL versus GPLv2 with classpath exception. 

This suggests is GPL:

  https://github.com/pfirmstone/Pack200-ex-openjdk/blob/master/LICENSE

But files such as these make it clear that some or all of it is GPLv2+CE:

https://github.com/pfirmstone/Pack200-ex-openjdk/blob/master/src/main/java/au/net/zeus/util/jar/Pack200.java
https://github.com/pfirmstone/Pack200-ex-openjdk/blob/master/src/main/java/au/net/zeus/util/jar/pack/AdaptiveCoding.java

GPL is a no go as far as redistributing this as part of p2.  GPLv2+CE is perhaps doable, but seems problematic too.

We can continue the discussion in Bug 536106.

Regards,
Ed

On 01.03.2020 02:19, Peter Firmstone wrote:
Hello,

I've just created a project on github, to maintain and update the java implementation of Pack200.   I haven't got the jtreg tests set up and running yet, I've used jtreg with ant scripts in the past, but would like to get them running with maven if possible, if someone has experience doing that, it would be much appreciated, so people don't need to download and install jtreg manually.

Also I'd like to make the implementation available as an OSGi service or using a service provider.

Of course I'll be adding support for new bytecodes as well.

Anyone feel like helping, the code is available here, with preserved git history, branched from OpenJDK14-26.

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

Regards,

Peter.

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev

Back to the top