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

javac fails with SOE for a large series of chained invocations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9, 21
    • tools
    • None

      javac fails with SOE for this test case:

      import java.util.Date;

      public class CompilerIssue {

      public static String TTCN3_spv_nos;

      public static void main(String[] args) {
      long currentTime = new Date().getTime();
      TTCN3_spv_nos = new String("Hello world").concat(new String("Hello world").concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      .concat(new String("Hello world")
      ))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      ))))))))))
      )))))))))
      ;
      System.out.println("Time elapsed = " + (new Date().getTime() - currentTime));

      }

      }

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

              Created:
              Updated: