summaryrefslogtreecommitdiff
path: root/connectivity/com
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/com')
-rw-r--r--connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
index 42781d4a425a..db3d5f185ff8 100644
--- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
+++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/NativeLibraries.java
@@ -49,14 +49,14 @@ final class NativeLibraries {
if (url != null) {
try {
System.load(
- ((File) File.class.getConstructor(
+ File.class.getConstructor(
new Class[] {
ClassLoader.getSystemClassLoader().
loadClass("java.net.URI") }).
newInstance(
new Object[] {
URL.class.getMethod("toURI", new Class[0]).
- invoke(url, (java.lang.Object[])null) })).
+ invoke(url, (java.lang.Object[])null) }).
getAbsolutePath());
} catch (Throwable t) {
throw new UnsatisfiedLinkError(