jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/ClassFactory.java
equal
deleted
inserted
replaced
111 } |
111 } |
112 } |
112 } |
113 |
113 |
114 m.put(clazz,new WeakReference<Constructor>(cons)); |
114 m.put(clazz,new WeakReference<Constructor>(cons)); |
115 } |
115 } |
116 |
|
117 return cons.newInstance(emptyObject); |
116 return cons.newInstance(emptyObject); |
118 } |
117 } |
119 |
118 |
120 private static <T> Constructor<T> tryGetDeclaredConstructor(Class<T> clazz) { |
119 private static <T> Constructor<T> tryGetDeclaredConstructor(Class<T> clazz) { |
121 try { |
120 try { |