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

Eric Bresie edited comment on NETBEANS-2842 at 11/21/21, 3:38 PM:
------------------------------------------------------------------

Assume 
* source coverage may be part of "ModuleUpdater" class and the "unpack200" 
method context.
* unit test coverage my involve "Auto Update Services" test cases.  
** There are a number of test cases which call out to "support.doValidate" 
which eventually does some unpacking.  May be able to model test case after 
this with an older nbm as test input.
** Maybe UpdateFromNbmTest, NbmExternalTest, NbmAdvancedTestCase, or 
InternalUpdatesTest
** Seems a lot of the tests depend on a possible generated nbm for use in 
testing similar to "data/org-yourorghere-engine" named nbm.  Not sure how to 
bring in a legacy nbm (maybe pull from someplace online or have some way of 
building as is currently done but given pack200 is removed, not sure if that 
will be possible either.



was (Author: ebresie):
Assume 
* source coverage may be part of "ModuleUpdater" class and the "unpack200" 
method context.
* unit test coverage my involve "Auto Update Services" test cases.  
** There are a number of test cases which call out to "support.doValidate" 
which eventually does some unpacking.  May be able to model test case after 
this with an older nbm as test input.
** Maybe UpdateFromNbmTest, NbmExternalTest, NbmAdvancedTestCase, or 
InternalUpdatesTest


> 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
>         Attachments: nbpython.zip, unpack200 failure.png
>
>
> 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

Reply via email to