First of all, thank you for your commitment.

Watched the video and tried following it.
It failed for me, but just because I had the method in reversed order than
you.
Looks like Jan i s correct, it works if the method appears before the one
calling it.

Den mån 6 aug. 2018 kl 08:08 skrev Geertjan Wielenga
<[email protected]>:

> I can reproduce with your code, and actually also with Patrik's code, but
> for some reason not with mine (shown in the YouTube clip). What could be
> the reason for that, any idea?
>
> Gj
>
> On Mon, Aug 6, 2018 at 8:02 AM, Jan Lahoda <[email protected]> wrote:
>
> > I think I was able to reproduce, using:
> > ---
> > package javaapplication1a;
> >
> > public class JavaApplication1a {
> >
> >     private void saySomething() {
> >         sayHello("world");
> >     }
> >
> >     private void sayHello(String name) {
> >         System.out.println("Hello " + name);
> >     }
> > }
> > ---
> >
> > Press Ctrl-R (or the equivalent on Mac) on the _first_ "sayHello", press
> > right arrow (to cancel the selection), press 1, escape. Try to rename
> > again, this fails. The "sayHello1" is underlined as an error.
> >
> > Probably related to partial reparse. I'll take a look when I can, unless
> > someone else wants to.
> >
> > Jan
> >
> >
> > On Mon, Aug 6, 2018 at 7:40 AM, Geertjan Wielenga <
> > [email protected]> wrote:
> >
> > > https://www.youtube.com/watch?v=FoKZ551tr0A
> > >
> > > Please tell me what I must do to see your problem, after watching the
> > > above, takes about 4 minutes.
> > >
> > > Gj
> > >
> > >
> > > On Mon, Aug 6, 2018 at 7:36 AM, Geertjan Wielenga <
> > > [email protected]> wrote:
> > >
> > > > OK, I have recorded a clip that I am uploading to YouTube, where I
> use
> > > > NetBeans 9, with JDK 10, and nb-javac.
> > > >
> > > > I'll send a link here when it's up in a few minutes and then you tell
> > me
> > > > what I should do differently to reproduce your problem.
> > > >
> > > > Gj
> > > >
> > > >
> > > > On Mon, Aug 6, 2018 at 7:28 AM, Patrik Karlström <[email protected]>
> > > wrote:
> > > >
> > > >> Den mån 6 aug. 2018 kl 07:19 skrev Geertjan Wielenga
> > > >> <[email protected]>:
> > > >>
> > > >> > If what you’re saying is that you have no problem when using
> > nb-javac,
> > > >> > while you do have a problem when not using nb-javac, then you’ve
> > > learned
> > > >> > for yourself why it makes sense to use nb-javac.
> > > >> >
> > > >> > Gj
> > > >> >
> > > >> > I'm saying quite the opposite.
> > > >>
> > > >
> > > >
> > >
> >
>

Reply via email to