Skip to content

Crashes on start #124

Description

@atleta

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 is CONSTANT_MethodRef and should be CONSTANT_InterfaceMethodRef
	at javarepl.internal.totallylazy.functions.CurriedBinary.flip(CurriedBinary.java:11)
	at javarepl.internal.totallylazy.numbers.Numbers.<clinit>(Numbers.java:432)
	at javarepl.Main.port(Main.java:196)
	at javarepl.Main.main(Main.java:56)

after a few seconds of wait time (but before the prompt appears).

Output of java -version:

openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b161-1)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b161-1, mixed mode)

Trying with OpnJDK8 gets me this:

Welcome to JavaREPL version 428 (OpenJDK 64-Bit Server VM, Java 1.8.0_131)
Type expression to evaluate, :help for more options or press tab to auto-complete.
Connected to local instance at http://localhost:33359

ERROR: Could not start REPL instance at http://localhost:33359

Terminating...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions