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 168580

Summary: PaletteModule should not be in API
Product: platform Reporter: Jesse Glick <jglick>
Component: PaletteAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: blocker CC: jtulach
Priority: P4 Keywords: API
Version: 6.x   
Hardware: All   
OS: All   
URL: http://bits.netbeans.org/6.0/javadoc/org-netbeans-spi-palette/org/netbeans/spi/palette/PaletteModule.html
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2009-07-14 19:35:52 UTC
Appears in API (see URL).

Probably PaletteModule, PaletteSwitch, PaletteTopComponent, and PaletteVisibility all need to be moved to
org.netbeans.modules.palette.

Technically an incompatible change so may require some flag in project.properties to skip it; better ask Yarda.
Comment 1 Jaroslav Tulach 2009-07-15 11:54:33 UTC
Silly (yet harmless, e.g. less than P3) oversight. Imho you could:

1. deprecate immediately
2. let it be for one release
3. hide by using @PatchByteCode in next release after 6.8
4. remove the release after that

I base this advice on my understanding of http://wiki.netbeans.org/CompatibilityPolicy My advice follows the "phased" 
steps, through this change could be done in "separable" mode as well. Yet I consider creation of some new module and 
usage of automatic dependencies too heavyweight for this case.