java-repl icon indicating copy to clipboard operation
java-repl copied to clipboard

Read Eval Print Loop for Java

Results 25 java-repl issues
Sort by recently updated
recently updated
newest added

Hi, Starting it with `java -jar javarepl-428.jar ` results in: ``` Exception in thread "main" java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class javarepl/internal/totallylazy/functions/CurriedBinary. Method lambda$flip$142(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; at index 48...

I have dowloaded jar file from github and started repl and it fails with ``` java -jar javarepl-428.jar Welcome to JavaREPL version 428 (OpenJDK 64-Bit Server VM, Java 9-internal) Type...

The REPL becomes unresponsive (indefinitely) when result of a computation is something whose "message" is a huge string. May be simulated by reading lines of a large file in a...

Exits with return code 1: ``` $ java -jar build/libs/javarepl-dev.jar Welcome to JavaREPL version dev (OpenJDK 64-Bit Server VM, Java 1.8.0_121) Type expression to evaluate, :help for more options or...

It seems that returning a stream into one of the resX variables breaks the REPL. The following breaks JavaREPL reliably: ``` java Object[] o1 = new Object[1]; o1[0] = "hello"...

java> int a, b; java> a = (b = 2); ERROR: cannot find symbol symbol: variable b location: class Evaluation (b = 2);; ^

e.g. public static void foo(K k){}

Is this the recommended way to do something like this? file System.out.println("test"); System.exit(0); and run on ubuntu cat repltest.txt | java -jar build/libs/javarepl-dev.jar Forgive there are not many examples on...

Does the Java REPL environment have a settings file, similar to bash's `.bashrc`, that is executed when the environment is loaded?