Dear:

The chat records of WeChat group“Apache linkis Community Development Group”are 
as follows微信群"Apache Linkis 社区开发群"的聊天记录如下

—————  2022-8-5  —————

casion  20:53

Some students in the community asked about JDK adaptation compilation, whether 
our Git Aciton also adds the mainstream JDK8 and JDK11 automatic build 
verification 看社区有同学问关于jdk适配编译问题, 我们的 git aciton 中是不是也加上 主流的jdk8 和jdk11  自动构建验证 

 

casion  20:53

 



 

casion  20:55

Seeing that other items should be running in parallel should not affect the 
check duration much 
https://github.com/apache/servicecomb-pack/actions/runs/2773904490/workflow 
看其它项目  应该是并行在跑  对check时长也应该不会有多大影响 

 

casion  20:55

 



 

casion  20:55

 



 

peacewong@WDS  21:22

I think it's necessary. I don't know if there are compatibility 
issues感觉有必要,不知道有兼容问题没

 

peacewong@WDS  21:24

@jackxu2011_seems to have tried 麟云 许灵兄好像有试过

 

许灵  21:47

11 there is a problem 11有问题 There is a problem

 

jackxu2011_许灵  21:48

Sun's internal API is also used in the project, which is no longer available in 
JDK11项目中还用到sun的内部API, jdk11已经没有了

 

peacewong@WDS  21:48

I think it can replace these这些应该可以替换下

 

jackxu2011许灵  21:51

一个是  sun.misc.{Signal, SignalHandler}

 

jackxu2011许灵  21:52

一个是import sun.misc.Unsafe;

 

peacewong@WDS  21:52

jackxu2011could you  mention an issue? 许灵兄看是不是可以来个issue下

 

peacewong@WDS  21:53

It looks like it should be replaceable 看起来应该是可以替换的

 

jackxu2011许灵  21:54

One is that sun.misc.{Signal, SignalHandler} there is no good alternative. I 
look at the code and feel that we can directly replace it with Spring event 
event一个是  sun.misc.{Signal, SignalHandler}  
目前没什么好的替代方案。我看代码,感觉可以直接用spring的event事件替换

 

jackxu2011许灵  21:54

application shutdown

 

jackxu2011许灵  21:55

One is import sun.misc.Unsafe; I don't know much about this, how do I solve 
it一个是import sun.misc.Unsafe;  这个我不太了解,不知道怎么解

 

jackxu2011许灵  21:55

It seems that Spark and the like still use this class, but with special 
treatment好像spark之类的都还有这个类的使用,只是做了特殊处理

 

peacewong@WDS  21:56

Yeah, I should be able to replace it with this 是的,应该可以替换成这个

 

peacewong@WDS  21:57

It depends on which methods are used要看具体用了哪几个方法

 

jackxu2011许灵  21:57

It seems to me that the main purpose of the code is to calculate the actual 
memory used by the object我看代码好像主要为了计算对象的实际使用内存大小

 

peacewong@WDS  21:58

That should be replaced with oshi那应该可以替换为oshi

 

jackxu2011许灵  22:04

Maven plugin needs to be upgraded. The current version of Scala plugin does not 
support JDK11还有就是maven插件要升级,目前的scala插件版本不支持jdk11

 

jackxu2011许灵  22:05

And Scala should go up to 2.12还有scala最好升到2.12

 

jackxu2011许灵  22:09

What else is incompatible? I haven't tried it. At present these are to be 
changed, except for the Scala version upgrade is 
optional其它的还有什么不兼容的,没试过。目前看这些是要改掉的,除了scala版本的升级可选

 

peacewong@WDS  22:11

jackxu2011 This Java 11 compatibility you see the lead to do? 
许灵兄这个java11兼容你看主导搞下?

 

jackxu2011许灵  22:19

ok

 

jackxu2011许灵  22:24

There may also be some other issues, such as Hadoop, JDK version requirements, 
such as Hadoop2.7 do not support 
JDK11这个可能还有其它一些问题,像hadoop之类的,对jdk版本的要求,像是hadoop2.7都不支持jdk11

 

peacewong@WDS  22:25

There is a problem with that and it may be recommended that if you are running 
in JDK11, you should specify the compatible version numbers of the underlying 
components那确实存在问题,可能到时候推荐如果运行在jdk11,得说清楚哪些底层组件的兼容版本号

 

jackxu2011许灵  22:27

can be modify the plug-in, the Sun API可以先改插件,sun api

 

peacewong@WDS  22:27

yes 是的

 

Reply via email to