netbeans: ASCII/UNICODE BUG K=75

Apache NetBeans version

verified in 14rc4, 13… 12.0

What happened

for (int i=0; i<=127; i++){
    System.out.println(i + " " + (char) i);
} 

I was running this code above and received the following output: (I was missing the value 75 of uppercase K) (Netbeans IDE version 12.6) bugasiiunicode

How to reproduce

see above

Did this work correctly in an earlier version?

No

Operating System

Windows

JDK

17.0.1

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

Yes

Code of Conduct

Yes

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 16 (13 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve done some debugging. Nothing to do with ANSI coloring and what not. Sorry for bringing that up.

The text 75 K by coincidence matches what the NetBeans Maven CommandLineOutputHandler seems to think is download progress info from Maven. It is obviously not.

The output is skipped for this reason. So there you have it.

The class, CommandLineOutputHandler, does a lot of pattern matching on the output from Maven before it presents it in the Output window. Too much for my taste, but I understand why it may be necessary.

Not sure what the fix is.