-
Notifications
You must be signed in to change notification settings - Fork 529
Description
We are facing with a bug on some windows machines preventing us to use JDK 8 (for development purpose only). It seems to be due to a windows library (msvcrXXX.dll), and the bug has been raised to Oracle.
Anyway, the only solution for now was to use JDK9, but json-iterator does not work:
Exception in thread "main" com.jsoniter.spi.JsonException: failed to generate encoder for: java.util.Map<java.lang.String, com.jsoniter.any.Any> with [class java.lang.String, class com.jsoniter.any.Any], exception: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @7c417213
public static void encode_(java.lang.Object obj, com.jsoniter.output.JsonStream stream) throws java.io.IOException
Any clue?