为什么在 JDK 14 中找不到 IntHolder?

huangapple go评论75阅读模式
英文:

Why can't IntHolder be found in JDK 14?

问题

当我输入 IntHolder 时,它提示我无法解析符号 IntHolder。我的 JDK 版本是 14。我在 JDK 文档中找不到它。一些类或其他内容会随着 JDK 版本的更新而消失吗?

英文:

When I type IntHolder, it prompts me to Cannot resolve symbol IntHolder.My JDK is 14.And I can't find it in the JDK documentation.Will some classes or others disappear with the JDK version update?

答案1

得分: 4

CORBA模块中包含的org.omg.CORBA.IntHolder在JDK 11中被移除。https://openjdk.java.net/jeps/320

您仍然可以将内容添加为依赖项:https://mvnrepository.com/artifact/org.glassfish.corba/glassfish-corba-orb
https://github.com/javaee/glassfish-corba

英文:

The CORBA modules containing the org.omg.CORBA.IntHolder were removed with JDK 11. https://openjdk.java.net/jeps/320

you can still add the content as dependency: https://mvnrepository.com/artifact/org.glassfish.corba/glassfish-corba-orb
https://github.com/javaee/glassfish-corba

答案2

得分: -4

一般来说,这个问题不应该存在,因为 Java 实际上并不会移除类,只是将其标记为过时。也许你应该尝试重新安装 JAVA。

它在 JDK 11 中被标记为过时。

英文:

Generally this issue should not be there , as java don't really remove the classes it just deprecates it. May be you should try re-installing JAVA .

It was deprecated with JDK 11

huangapple
  • 本文由 发表于 2020年9月30日 23:00:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/64140387.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定