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.
Summary: | make ProjectClassPathModifierImplementation's methods public. | ||
---|---|---|---|
Product: | java | Reporter: | Milos Kleint <mkleint> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | jglick |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 196455 |
Description
Milos Kleint
2007-02-23 09:54:34 UTC
obviously making the methods public is non-backward compatible change. :( There is a technical reason for protected methods. It's a SPI. If you allow public methods in the SPI the client can do: lookup (SPIClass).invokeSPIMetohd(). This is not possible in the case when methods are protected. There are tow possibilities: 1) change protected to public, has to be done before the API is released 6.0 2) Add final protected delegateXXXXToLookup methods which take Lookup and delegate into it. moving opened issues from TM <= 6.1 to TM=Dev Is there any use case for such a decoration? Raison d'ĂȘtre was reflection in Maven project type, which is no longer necessary after implementing bug #196455. |