InvocationTargetException field named target is not declared final

XMLWordPrintable

      There is a publication issue because the field of InvocationTargetException is not declared final

      public class InvocationTargetException extends ReflectiveOperationException {
          /**
           * Use serialVersionUID from JDK 1.1.X for interoperability
           */
          @java.io.Serial
          private static final long serialVersionUID = 4085088731926701167L;

          /**
           * This field holds the target if the
           * InvocationTargetException(Throwable target) constructor was
           * used to instantiate the object
           *
           * @serial
           *
           */
          private Throwable target; // <--- oops

            Assignee:
            Joe Darcy
            Reporter:
            Rémi Forax
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: