-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
The second line of the following snippet is throwing a NPE, when System.console() is not defined, yet somehow tty_p says true (is this breaking an invariant?)
if (Platform.IS_WINDOWS && tty_p(getRuntime().getCurrentContext()).isTrue()) {
System.console().printf("%s", buffer.asJavaString());
return len;
}
This was added 5bd0798 , fixed #1198 but it breaks our client upgrades from an earlier jruby version.
Thanks for you help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels