Hi all,

The version 3.6.3, which is currently bundled with Netbeans, has a bug that breaks input when using print and printf, for example when trying to run following code:

Scanner in = new Scanner(System.in, "UTF-8");
System.out.print("Enter a word: ");
String word = in.nextLine();
System.out.println("You entered: " + word);

The prompt 'Enter a word:' doesn't get printed until you actually type in a word and press enter. Then the output looks like this:

tree
Enter a word: You entered: tree

It should look like this:

Enter a word: tree
You entered: tree

I did some experimenting and it seems to be fixed in version 3.8.2 and newer.

Are there any plans to upgrade the version of Maven in the near future?

Thanks

Vlad

Reply via email to