You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/02/21 02:04:44 UTC

[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #1502: JDK12demo启动报错:NullPointerException,换回JDK8没问题。

liubao68 edited a comment on issue #1502: JDK12demo启动报错:NullPointerException,换回JDK8没问题。
URL: https://github.com/apache/servicecomb-java-chassis/issues/1502#issuecomment-589460853
 
 
   JDK 12 为了安全性, 所有破坏对象封装性的的操作都是不允许的了。 目前 java-chassis 还有部分特性以及一些三方件还使用这些特性,无法运行于 JDK 12。 发布的 2.0.0 版本已经可以在 JDK 11运行, 目前  JDK 11 是 JAVA 的 TLS 版本,建议优先采用这个版本。 
   
   这个问题先关闭, 相关JDK 封装特性的修改已经创建  apache 任务, java-chassis 需要在后续版本支持 JDK 12及其以上版本。 
   
   BTW: 本 issue 涉及的问题 2.0.0 也已经修复,上面说的是理论情况。  但是没验证 JDK 12, 只验证了 JDK 11, JDK 12 限制比 JDK 11更加严格。 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services