Sfoglia il codice sorgente

fixes issue #209 (NPE in Exception)

tags/rel_3_24_0_rc
chibash 5 anni fa
parent
commit
a3d1aa2513
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2
    1
      src/main/javassist/util/proxy/DefineClassHelper.java

+ 2
- 1
src/main/javassist/util/proxy/DefineClassHelper.java Vedi File

@@ -246,7 +246,8 @@ public class DefineClassHelper
throw e;
}
catch (ClassFormatError e) {
throw new CannotCompileException(e.getCause());
Throwable t = e.getCause();
throw new CannotCompileException(t == null ? e : t);
}
catch (Exception e) {
throw new CannotCompileException(e);

Loading…
Annulla
Salva