You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/07/21 02:26:07 UTC
[GitHub] [dubbo-hessian-lite] keisunique opened a new issue, #57: 不支持jdk17吗?
keisunique opened a new issue, #57:
URL: https://github.com/apache/dubbo-hessian-lite/issues/57
序列化代码如下:
```
@Override
public byte[] serialize(Object obj) {
ByteArrayOutputStream out = new ByteArrayOutputStream();
Hessian2Output hessian2Output = new Hessian2Output(out);
try {
hessian2Output.writeObject(obj);
hessian2Output.flush();
} catch (Exception e) {
e.printStackTrace();
}
return out.toByteArray();
}
```
报错:
```
java.lang.reflect.InaccessibleObjectException: Unable to make field final int java.math.BigInteger.signum accessible: module java.base does not "opens java.math" to unnamed module @2f410acfjava.lang.reflect.InaccessibleObjectException: Unable to make field final int java.math.BigInteger.signum accessible: module java.base does not "opens java.math" to unnamed module @2f410acf
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-hessian-lite] keisunique closed issue #57: 不支持jdk17吗?
Posted by GitBox <gi...@apache.org>.
keisunique closed issue #57: 不支持jdk17吗?
URL: https://github.com/apache/dubbo-hessian-lite/issues/57
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org