Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4755

StackOverflowError when ASMHelper tries to getClassCode from a parametrized type <E extends Enum>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.8, 2.6.5, 2.7.2
    • 2.6.6, 2.7.3, 3.0.0-milestone1
    • Core
    • None
    • Unknown

    Description

      ASMHelper will throw stack overflow error when starts the server with SEI:

      @javax.jws.WebService
      public class EnumTest
      {
      public <T extends Enum<T>> EnumObject<T> test(EnumObject<T> o)

      { return o; }

      }

      public class EnumObject<E extends Enum<E>>
      {
      private String name;

      public String getName()

      { return name; }

      public void setName(String param)

      { this.name = param; }

      }

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: