This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268246

Summary: CLIHandler for extra CLI arguments not available to other modules
Product: platform Reporter: jmborer <jmborer>
Component: Launchers&CLIAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description jmborer 2016-09-28 11:40:46 UTC
It is not really a bug but an improvement request

You can define custom startup args for your netbeans app that you will handle by registering your own CLIHandler with the help of @ServiceProvider. But...

The startup module which contains the class declares friends and of course your module is not on the list. So you must cheat to make your module friend of the startup module

Why is CLIHandler not publicly available for other modules?