odk/source/com/sun/star/lib/loader/Loader.java | 1 + 1 file changed, 1 insertion(+)
New commits: commit 3579f76f151b26c42b1bd9dfc2374132ff61cca1 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Sat Aug 16 22:23:08 2014 +1000 Suppress unchecked warning - this is fine Change-Id: I69f47cf975a9ed91d4a1408351b5ad1751aab19e diff --git a/odk/source/com/sun/star/lib/loader/Loader.java b/odk/source/com/sun/star/lib/loader/Loader.java index 0c55d19..908e3f0 100644 --- a/odk/source/com/sun/star/lib/loader/Loader.java +++ b/odk/source/com/sun/star/lib/loader/Loader.java @@ -124,6 +124,7 @@ public final class Loader { ClassLoader cl = getCustomLoader(); Thread.currentThread().setContextClassLoader(cl); Class c = cl.loadClass( className ); + @SuppressWarnings("unchecked") Method m = c.getMethod( "main", new Class[] { String[].class } ); m.invoke( null, new Object[] { args } ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits