英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论