commit | 6ba546b5914b66ddc16f34c6d2f9266a6405230d | [log] [tgz] |
---|---|---|
author | Vikas Chandra <Vikas.Chandra@in.ibm.com> | Tue Oct 13 11:55:00 2015 +0530 |
committer | Vikas Chandra <Vikas.Chandra@in.ibm.com> | Tue Oct 13 11:55:00 2015 +0530 |
tree | 5f63af51cdda1bdcc7769d175a9ffa8c7d566add | |
parent | 1af10dc85f05454c1d8ed0680caddfd796198ce9 [diff] |
Bug 479192 - Warning in PDE after moving to java 8 Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
diff --git a/ui/org.eclipse.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/NonUIThreadTestApplication.java b/ui/org.eclipse.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/NonUIThreadTestApplication.java index e5f778a..9438524 100644 --- a/ui/org.eclipse.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/NonUIThreadTestApplication.java +++ b/ui/org.eclipse.pde.junit.runtime/src/org/eclipse/pde/internal/junit/runtime/NonUIThreadTestApplication.java
@@ -68,7 +68,7 @@ if (testableObject == null) { try { Class<?> platformUIClass = Class.forName("org.eclipse.ui.PlatformUI", true, getClass().getClassLoader()); //$NON-NLS-1$ - testableObject = platformUIClass.getMethod("getTestableObject", null).invoke(null, null); //$NON-NLS-1$ + testableObject = platformUIClass.getMethod("getTestableObject").invoke(null); //$NON-NLS-1$ } catch (ClassNotFoundException e) { // PlatformUI is not available }