# 2/26/08 1:19:01 AM CET # Eclipse Java Compiler 0.789_R33x, 3.3.2, Copyright IBM Corp 2000, 2008. All rights reserved. ---------- 1. WARNING in /home/builder/gmfbuild/build/tests/plugins/org.eclipse.gmf.tests.runtime.emf.type.core/src/org/eclipse/gmf/tests/runtime/emf/type/core/commands/DestroyElementCommandTest.java (at line 396) Method getElementToDestroy = DestroyElementCommand.class .getDeclaredMethod("getElementToDestroy", null); //$NON-NLS-1$ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getDeclaredMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation ---------- 2. WARNING in /home/builder/gmfbuild/build/tests/plugins/org.eclipse.gmf.tests.runtime.emf.type.core/src/org/eclipse/gmf/tests/runtime/emf/type/core/commands/DestroyElementCommandTest.java (at line 399) EObject element = (EObject) getElementToDestroy.invoke( cmd, null); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation ---------- 2 problems (2 warnings)