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

javac in 5.0ux can not compile try-catch block which has a lot of "return"

    XMLWordPrintable

Details

    • 5.0
    • b08
    • x86
    • windows_xp
    • Not verified

    Backports

      Description

        javac in 5.0ux can not compile try-catch block having a lot of "return".

        REPRODUCE :
         1) Try to compile the attached .java program.
            You will see the following message.

            Note: the messages in () originally appears in Japanese.

        K:\javac-ompiler>javac *.java
        TEST_FINALLY10B.java:2006: (too big code in try statement)
              } catch(Exception e) { e.printStackTrace();
                ^
        TEST_FINALLY10B.java:5: (too big code in try statement)
              try {
                  ^
        TEST_FINALLY10B.java:4: (too big code in )
           static public int func(int i) {
                             ^
        (3 errors)


        NOTE:
          This problem does not occur in 1.4.2_XX javac.

        Attachments

          Issue Links

            Activity

              People

                wtaosunw Wei Tao (Inactive)
                tbaba Tadayuki Baba (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: