Dne středa 11. května 2022 13:02:57 CEST, Tim Boudreau napsal(a):
> The way this has been handled in the past has been to make the method (or
> class) non-public, so it’s not visible in, say, javadoc, and then have the
> build bytecode-patch it to be public so it’s binary compatible.
> 
> At least I know we did it for some classes in openide.aww, because I
> deleted a non-public, unused class there once and found out the hard way.
> 
> Don’t know if we ever did that for methods. Jarda might.

The simplest solution is to never delete API methods. If one wants to do that 
(delete an API method or class) and has to provide good enough justification. 
The fact we managed to simplify our codebase by x-lines isn't a good enough 
justification.

E.g. keep the API methods. Thank you.
-jt


> On Tue, May 10, 2022 at 5:01 PM Łukasz Bownik <[email protected]>
> 
> wrote:
> > Vicrims of popularity? ;)
> > 
> > On Tue, May 10, 2022, 1:56 PM Laszlo Kishalmi <[email protected]>
> > 
> > wrote:
> > > Also some of the platform modules are in other exotic IDE-s like
> > > JDeveloper.
> > > 
> > > On 5/10/22 13:38, antonio wrote:
> > > > Hi,
> > > > 
> > > > You're welcome! That's a way of building trust :-).
> > > > 
> > > > Some of the committers around (not me, though) use NetBeans as a
> > > > platform for building applications, or to build plugins, so it's
> > > > always a good idea to ask in the mailing list when suggesting an API
> > > > change.
> > > > 
> > > > Kind regards,
> > > > Antonio
> > > > 
> > > > El 10/5/22 a las 22:17, Łukasz Bownik escribió:
> > > >> Thank You for explaining the process and reasoning behind it.
> > > >> It is also good to know the community's attitude towards backward
> > > >> compatibility.
> > > >> 
> > > >> I'll close the current PRs and try to spoon feed changes while
> > > >> optimising
> > > >> for "diff-readability" until we build some trust.
> > > > 
> > > > ---------------------------------------------------------------------
> > > > 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
> > > 
> > > ---------------------------------------------------------------------
> > > 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





---------------------------------------------------------------------
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



Reply via email to