(String path)
| 95 | // get the behavior we want. This implementation is the same as |
| 96 | // that of Avian's java.lang.ClassLoader.getResource. |
| 97 | public URL getResource(String path) { |
| 98 | URL url = null; |
| 99 | ClassLoader parent = getParent(); |
| 100 | if (parent != null) { |
| 101 | url = parent.getResource(path); |
| 102 | } |
| 103 | |
| 104 | if (url == null) { |
| 105 | url = findResource(path); |
| 106 | } |
| 107 | |
| 108 | return url; |
| 109 | } |
| 110 | |
| 111 | // As above, we override this method to avoid inappropriate behavior |
| 112 | // in OpenJDK's java.lang.ClassLoader.getResources. |
nothing calls this directly
no test coverage detected