-
-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
❯ java -version
openjdk version "25-beta" 2025-09-16
OpenJDK Runtime Environment Temurin-25+11-202502220010 (build 25-beta+11-ea)
OpenJDK 64-Bit Server VM Temurin-25+11-202502220010 (build 25-beta+11-ea, mixed mode, sharing)
❯ sjm --help
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J(W): Ignoring binding found at [jar:file:/C:/Users/%d7%a9%d7%96%d7%93%d7%a1/scoop/apps/simplejavamail-cli/8.12.4/lib/log4j-slf4j-impl-2.22.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::arrayBaseOffset has been called by com.esotericsoftware.kryo.unsafe.UnsafeUtil (file:/C:/Users/%d7%a9%d7%96%d7%93%d7%a1/scoop/apps/simplejavamail-cli/8.12.4/lib/kryo-5.6.0.jar)
WARNING: Please consider reporting this to the maintainers of class com.esotericsoftware.kryo.unsafe.UnsafeUtil
WARNING: sun.misc.Unsafe::arrayBaseOffset will be removed in a future release
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.simplejavamail.internal.clisupport.serialization.SerializationUtil.initKryo(SerializationUtil.java:43)
at org.simplejavamail.internal.clisupport.serialization.SerializationUtil.<clinit>(SerializationUtil.java:36)
at org.simplejavamail.internal.clisupport.CliSupport.produceCliDeclaredOptionSpec(CliSupport.java:57)
at org.simplejavamail.internal.clisupport.CliSupport.<clinit>(CliSupport.java:47)
at org.simplejavamail.cli.SimpleJavaMail.main(SimpleJavaMail.java:31)
Caused by: java.lang.RuntimeException: Could not access source collection field in java.util.Collections$UnmodifiableCollection.
at de.javakaffee.kryoserializers.UnmodifiableCollectionsSerializer.<clinit>(UnmodifiableCollectionsSerializer.java:62)
... 5 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field final java.util.Collection java.util.Collections$UnmodifiableCollection.c accessible: module java.base does not "opens java.util" to unnamed module @3cd1f1c8
at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:353)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:329)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:277)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:179)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:173)
at de.javakaffee.kryoserializers.UnmodifiableCollectionsSerializer.<clinit>(UnmodifiableCollectionsSerializer.java:55)
... 5 more
Metadata
Metadata
Assignees
Labels
No labels