jenkinsci / stapler

Stapler web framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error used when DataBoundConstructor annotation is present more than once is not descriptive

MRamonLeon opened this issue · comments

Recently I've found out that if you have two constructors annotated with @DataBoundConstrutor you get this error:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] javax.annotation.processing.FilerException: Attempt to reopen a file for path ...... ClassName.stapler
  	at com.sun.tools.javac.processing.JavacFiler.checkFileReopening(JavacFiler.java:535)

A most descriptive message would be appreciated.