(Object proxy, Method method, Object[] args)
| 1314 | final Library.Handler handler = (Library.Handler)ih; |
| 1315 | InvocationHandler newHandler = new InvocationHandler() { |
| 1316 | @Override |
| 1317 | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { |
| 1318 | synchronized(handler.getNativeLibrary()) { |
| 1319 | return handler.invoke(library, method, args); |
| 1320 | } |
| 1321 | } |
| 1322 | }; |
| 1323 | return (Library)Proxy.newProxyInstance(cls.getClassLoader(), |
| 1324 | cls.getInterfaces(), |
nothing calls this directly
no test coverage detected