Parcourir la source

fixes issue #209 (NPE in Exception)

tags/rel_3_24_0_rc
chibash il y a 5 ans
Parent
révision
a3d1aa2513
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      src/main/javassist/util/proxy/DefineClassHelper.java

+ 2
- 1
src/main/javassist/util/proxy/DefineClassHelper.java Voir le fichier

@@ -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);

Chargement…
Annuler
Enregistrer