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
|