dnvriend / akka-persistence-inmemory

Akka-persistence-inmemory is a plugin for akka-persistence that stores journal and snapshot messages memory, which is very useful when testing persistent actors, persistent FSM and akka cluster
Apache License 2.0
134 stars 41 forks source link

Publish akka-persistence-inmemory with Java 8 #58

Closed IainHull closed 6 years ago

IainHull commented 6 years ago

com.github.dnvriend:akka-persistence-inmemory_2.12:2.5.15.0 is published with Java 10. As a result it can only be used with other Java 10 code :-( Can you publish a new version compiled with Java 8? as we are not yet in a position to upgrade.

    2018-09-03 09:26:54.615Z ERROR [akka.actor.ActorSystemImpl] Uncaught error from thread [async-actor-spec-root-akka.actor.default-dispatcher-4]: akka/persistence/inmemory/util/UUIDUtil has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[async-actor-spec-root] sourceThread=async-actor-spec-root-akka.actor.default-dispatcher-4, akkaTimestamp=09:26:54.614UTC, akkaSource=akka.actor.ActorSystemImpl(async-actor-spec-root), sourceActorSystem=async-actor-spec-root
    java.lang.UnsupportedClassVersionError: akka/persistence/inmemory/util/UUIDUtil has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0
seveneves commented 6 years ago

I'm having the same issue with latest com.github.dnvriend:akka-persistence-inmemory_2.12:2.5.15.0.

akka/persistence/inmemory/util/UUIDUtil has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0

@dnvriend Could you please republish with JDK 8 as it seems to be the minimal required version of java specified in docs?

dnvriend commented 6 years ago

This is not intentional, let me release a new version with Java 8

dnvriend commented 6 years ago

I just released 2.5.15.1, should be a Java 8 binary.

IainHull commented 6 years ago

Perfect we are using this now. 👍

IainHull commented 6 years ago

Closing