java - 使用 Java 9 和更高版本替代默认包
问题描述
I have an application which calls a third party dll. The dll is written so that the calls to it include the fully qualified name of the class doing the calling. This module has worked for a number of years using versions of Java earlier than Java 9. But because of Oracles new restrictions on putting classes in the default package, it no longer works with more recent versions of Java.
How do I get around this problem?
解决方案
推荐阅读
- java - 如何使用准备好的语句更新 ARRAY 的单个元素?
- android - 如何在 react-native 中的 mapbox 地图上绘制导航线?
- visual-studio - Visual Studio 2019 无法识别 Jdk 和 Android SDK
- javascript - SVG 在页面加载时未在浏览器中呈现
- kubernetes - 我可以检索 k8s 密钥并在集群外使用它吗?
- r - 如何在oder中获取数据框行
- java - mysql.connector.java@5.1.38-bin/com.mysql.jdbc.ResultSetImpl.getDate(ResultSetImpl.java:2015) 处的“AWT-EventQueue-0”java.lang.NullPointerException
- postgresql - 根据其他字段的值在 JSONB 列中插入新项目 - postgres
- swift - Swift ui 复制和编辑 struct Identifiable Codable
- python - 基于元组列表创建新列表