jtulach commented on PR #9635:
URL: https://github.com/apache/netbeans/pull/9635#issuecomment-5808752232
> I don't see value in keeping this API compatible based on this.
- Your change is compatible. Adding a method into (effectively) `final`
class is fully compatible binary change.
- I suggest to increase spec version of the module and annotate the
method with `@since`
- I'd also suggest to make a note in apichanges.xml, if it existed (they
don't so skip this)
- overall I'd advocate to be compatible even for friend APIs
- wrote an [essay about consequences of not being
compatible](https://wiki.apidesign.org/wiki/Incremental_deployment) once
- however that only applies when there is _incremental deployment_
- which is not the case of NetBeans IDE right now
> * `debugger.jpda` has a friend-only API ... the only usage outside the
module is in `debugger.jpda.ui`.
- my long term plan has been to incrementally turn friend-only APIs into
public ones
- but I guess it is not the right moment now as the usage is _inner module_
anyway
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists