java-repl
java-repl copied to clipboard
Read Eval Print Loop for Java
I use your REPL website for years...
The following line result in session termination. `char a = 97` The last line in the following results in session termination `int i = 12` `char z = (char)i`
Test case: ``` java> enum E {ONE, TWO} Created type E java> E e = null; javarepl.internal.totallylazy.LazyException: javarepl.internal.totallylazy.LazyException: ... java.lang.StackOverflowError ```
This solves the following errors in Arch Linux: ``` [ERROR] Failed to construct terminal; falling back to unsupported java.lang.NumberFormatException: For input string: "0x100" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at...
#Switching the website http://www.javarepl.com/term.html to https would save my @ss as I could make the iframe work on the web pages of my course, which is so much better with...
Getting java.lang.NullPointerException for every java code. I am using javarepl-428.jar downloaded from Github. REPL Log: Welcome to JavaREPL version 428 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_101) Type expression to...
if I input a err '}' or ')' with not '(' or '{'. it will stop.like: java>1+1 2 java>} java>1+1 java> this project is so cool!!
Open the Java REPL and try calling: java.nio.charset.Charset.forName("US-ASCII") this completes successfully, but hereafter every action on the REPL will result in an error: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.nio.cs") even trivial...
when i run with java9, it report a error: java.lang.IncompatibleClassChangeError: Inconsistent constant pool data in classfile for class javarepl/internal/totallylazy/functions/Curried2. Method lambda$call$135(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; at index 33 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef
When running, I get an error immediately (it doesn't crash though, and I can keep using the repl): ``` $ javarepl [ERROR] Failed to construct terminal; falling back to unsupported...