Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8337037

compiler internal options are not printing the stacktrace after a compiler crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • tools
    • b09

      `-doe`, `-XDdev are not printing the stacktrace for the compiler crash reported while compiling this test case:

      ```
      import java.util.List;

      class Test {
          void m() {
              List<X> list = List.of(new X());
              test(list.get(0));
          }

          void test(A<?> a) { }
          void test(B<?> b) { }

          interface A<T extends A<T>> { T a(); }
          interface B<T extends B<T>> { T b(); }
          class X implements A<X>, B<X> {
              public X a() { return null; }
              public X b() { return null; }
          }
      }
      ```

            vromero Vicente Arturo Romero Zaldivar
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: