-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anything returning a Stream breaks REPL #63
Comments
Observed the same behaviour
|
On my machine, the stream is returned when invoked at the first time and fails afterwards java> list = new ArrayList<Integer>()
java.util.ArrayList list = []
java> list.stream()
java.util.stream.ReferencePipeline.Head res1 = java.util.stream.ReferencePipeline$Head@5e76dc2c
java> list.stream()
ERROR: package java.util.stream.ReferencePipeline does not exist
public java.util.stream.ReferencePipeline.Head res1 = valueOf("res1");
^ |
@Shufeng01 After calling stream() for the first time, execute any other command and it should display the same error even though it has nothing to do with the stream. Check what @mishadoff does by just entering "1". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that returning a stream into one of the resX variables breaks the REPL.
The following breaks JavaREPL reliably:
From this point forward, every single command will output the following:
However, streams themselves seem to be okay. The following works flawlessly:
I am using Java 1.8.0_11
The text was updated successfully, but these errors were encountered: