Hi Jan,

I can reproduce the issue and would be happy to look into it, unless you've already started working on it.

Thanks,
Sarvesh


On 8/6/2018 11:32 AM, Jan Lahoda 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://urldefense.proofpoint.com/v2/url?u=https-3A__www.youtube.com_watch-3Fv-3DFoKZ551tr0A&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=LPkzDRkae1ck5T1FOexha8uL94Q3GN8Y_0gtNzRyCcw&m=nF1jnGdPHQIascRwb4m2RORx5WVOp0AycAaWUbJiIiI&s=7XpLsEuB1TdCymnRQ-ZuIA0d-F-6EKGtFZL85bxwpsY&e=

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.



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