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

Javac generates exponentially large class file with nested try catch statements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • tools
    • None

      Size of the class file increase exponentially when nesting try-finally statements. Compiling the attached java file generates a 747k class file and executes successfully, but uncommenting the additional nested try-finally, will increase the class file to 9.7m and crash the VM when running it.

            Unassigned Unassigned
            mtrudeau Michel Trudeau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: