< prev index next >

src/com/sun/javatest/TestSuite.java

Print this page
rev 152 : 7902253: Remove unnecessary array creation for varargs parameters
7902245: Correct Agent.productVersion
Reviewed-by: jjg

*** 1164,1174 **** * the extra check is performed: check if the newly introduced method * is abstract or not. */ boolean isLegacy = false; try { ! Method m = sr.getClass().getMethod("getServiceDescriptorFileName", new Class<?>[0]); if (Modifier.isAbstract(m.getModifiers())) { isLegacy = true; } } catch (NoSuchMethodException e) { isLegacy = true; --- 1164,1174 ---- * the extra check is performed: check if the newly introduced method * is abstract or not. */ boolean isLegacy = false; try { ! Method m = sr.getClass().getMethod("getServiceDescriptorFileName"); if (Modifier.isAbstract(m.getModifiers())) { isLegacy = true; } } catch (NoSuchMethodException e) { isLegacy = true;
< prev index next >