{@inheritDoc}
(final String name, final boolean resolve)
| 140 | * {@inheritDoc} |
| 141 | */ |
| 142 | @Override |
| 143 | protected synchronized Class<?> loadClass(final String name, final boolean resolve) throws ClassNotFoundException { |
| 144 | Class<?> c = findLoadedClass(name); |
| 145 | if (c != null) return c; |
| 146 | c = customClasses.get(name); |
| 147 | if (c != null) return c; |
| 148 | |
| 149 | try { |
| 150 | c = super.findClass(name); |
| 151 | } catch (ClassNotFoundException e) { |
| 152 | // ignore |
| 153 | } |
| 154 | if (c == null) |
| 155 | c = super.loadClass(name, resolve); |
| 156 | |
| 157 | if (resolve) |
| 158 | resolveClass(c); |
| 159 | |
| 160 | return c; |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * {@inheritDoc} |
no test coverage detected