src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/AbstractInstanceResolver.java

changeset 418
43240b8b995b
parent 368
0989ad8c0860
child 637
9c07ef4934dd
equal deleted inserted replaced
391:60b623a36164 418:43240b8b995b
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
64 public Void run() { 64 public Void run() {
65 try { 65 try {
66 if (!method.isAccessible()) { 66 if (!method.isAccessible()) {
67 method.setAccessible(true); 67 method.setAccessible(true);
68 } 68 }
69 method.invoke(instance,args); 69 MethodUtil.invoke(instance,method, args);
70 } catch (IllegalAccessException e) { 70 } catch (IllegalAccessException e) {
71 throw new ServerRtException("server.rt.err",e); 71 throw new ServerRtException("server.rt.err",e);
72 } catch (InvocationTargetException e) { 72 } catch (InvocationTargetException e) {
73 throw new ServerRtException("server.rt.err",e); 73 throw new ServerRtException("server.rt.err",e);
74 } 74 }

mercurial