-
Bug
-
Resolution: Fixed
-
P3
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8213460 | 11.0.3-oracle | Robert Mckenna | P3 | Resolved | Fixed | b03 |
JDK-8219358 | 11.0.3 | Lance Andersen | P3 | Resolved | Fixed | master |
See [1] for the test case reproducing the failure.
java.sql and java.sql.rowset were deprivileged in JDK 9 and loaded by the platform class loader. They were loaded by the bootstrap class loader in JDK 8 where DriverManager::getConnection special cases if the caller loader is null (bootstrap class loader), then it will use TCCL.
[1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-September/055755.html
java.sql and java.sql.rowset were deprivileged in JDK 9 and loaded by the platform class loader. They were loaded by the bootstrap class loader in JDK 8 where DriverManager::getConnection special cases if the caller loader is null (bootstrap class loader), then it will use TCCL.
[1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-September/055755.html
- backported by
-
JDK-8213460 DriverManager::getConnection fails to find driver if it's called from JDBC RowSet
-
- Resolved
-
-
JDK-8219358 DriverManager::getConnection fails to find driver if it's called from JDBC RowSet
-
- Resolved
-