summaryrefslogtreecommitdiff
path: root/jurt
diff options
context:
space:
mode:
Diffstat (limited to 'jurt')
-rw-r--r--jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java9
-rw-r--r--jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java4
2 files changed, 8 insertions, 5 deletions
diff --git a/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java b/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
index c29be0c9558d..d0ae6c3031bb 100644
--- a/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
+++ b/jurt/com/sun/star/lib/uno/bridges/java_remote/ProxyFactory.java
@@ -175,13 +175,16 @@ final class ProxyFactory {
try {
METHOD_EQUALS = Object.class.getMethod(
"equals", new Class[] { Object.class });
- METHOD_HASH_CODE = Object.class.getMethod("hashCode", null);
- METHOD_TO_STRING = Object.class.getMethod("toString", null);
+ METHOD_HASH_CODE = Object.class.getMethod(
+ "hashCode", (Class[]) null);
+ METHOD_TO_STRING = Object.class.getMethod(
+ "toString", (Class[]) null);
METHOD_QUERY_INTERFACE = IQueryInterface.class.getMethod(
"queryInterface", new Class[] { Type.class });
METHOD_IS_SAME = IQueryInterface.class.getMethod(
"isSame", new Class[] { Object.class });
- METHOD_GET_OID = IQueryInterface.class.getMethod("getOid", null);
+ METHOD_GET_OID = IQueryInterface.class.getMethod(
+ "getOid", (Class[]) null);
} catch (NoSuchMethodException e) {
throw new ExceptionInInitializerError(e);
}
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java b/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
index 2a43041916ce..38cafed0012a 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/Marshal.java
@@ -318,8 +318,8 @@ final class Marshal {
if (value == null) {
try {
n = ((Enum)
- (type.getZClass().getMethod("getDefault", null).
- invoke(null, null))).
+ (type.getZClass().getMethod("getDefault", (Class[]) null).
+ invoke(null, (Object[]) null))).
getValue();
} catch (IllegalAccessException e) {
throw new RuntimeException(e.toString());