src/share/classes/com/sun/corba/se/impl/orbutil/ObjectUtility.java

changeset 173
032585ad970d
parent 158
91006f157c46
child 205
b2fff4b7e8cd
equal deleted inserted replaced
166:888a846a860a 173:032585ad970d
348 (cls == Boolean.class)) 348 (cls == Boolean.class))
349 return true ; 349 return true ;
350 350
351 if (useToString) { 351 if (useToString) {
352 try { 352 try {
353 cls.getDeclaredMethod( "toString", null ) ; 353 cls.getDeclaredMethod( "toString", (Class[])null ) ;
354 return true ; 354 return true ;
355 } catch (Exception exc) { 355 } catch (Exception exc) {
356 return false ; 356 return false ;
357 } 357 }
358 } 358 }

mercurial