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

javac hangs

XMLWordPrintable

    • b97
    • x86
    • windows_xp

      Many JCK test fails:
      lang/LEX/lex015/lex01591m42/lex01591m42.html
      lang/LEX/lex015/lex01591m42_1/lex01591m42_1.html
      lang/LEX/lex015/lex01591m42_2/lex01591m42_2.html
      lang/LEX/lex015/lex01591m43_1/lex01591m43_1.html
      lang/LEX/lex015/lex01591m43_2/lex01591m43_2.html
      lang/LEX/lex015/lex01591m44_1/lex01591m44_1.html
      lang/LEX/lex015/lex01591m44_2/lex01591m44_2.html
      lang/LEX/lex015/lex01591m45_1/lex01591m45_1.html
      lang/LEX/lex015/lex01591m45_2/lex01591m45_2.html
      lang/LEX/lex015/lex01591m46_1/lex01591m46_1.html
      lang/LEX/lex015/lex01591m46_2/lex01591m46_2.html
      lang/LEX/lex015/lex01591m47_1/lex01591m47_1.html
      lang/LEX/lex015/lex01591m47_2/lex01591m47_2.html
      lang/LEX/lex015/lex01591m48_1/lex01591m48_1.html
      lang/LEX/lex015/lex01591m48_2/lex01591m48_2.html
      lang/LEX/lex015/lex01591m49_1/lex01591m49_1.html
      lang/LEX/lex015/lex01591m49_2/lex01591m49_2.html
      lang/LEX/lex015/lex01591m50_1/lex01591m50_1.html
      lang/LEX/lex015/lex01591m50_2/lex01591m50_2.html
      lang/LEX/lex015/lex01591m51/lex01591m51.html
      lang/LEX/lex015/lex01591m42/lex01591m42.html
      lang/LEX/lex015/lex01591ma2/lex01591ma2.html
      lang/STMT/stmt034/stmt03407/stmt03407.html
      lang/STMT/stmt034/stmt03408/stmt03408.html

      These hangs javac b94.
      Some of them are checked on earlier builds. Problem occured in b91.

      Simple example:
      Test.java
      public interface Test {
          void m() {
             int case;
          }
      }

      Compiling it with JDK b90 we get:
      Test.java:3: not a statement
             int case;
             ^
      Test.java:3: ';' expected
             int case;
                ^
      2 errors

      Compiling it with JDK b91 we get
      Test.java:3: not a statement
             int case;
             ^
      Test.java:3: ';' expected
             int case;
                ^
      Test.java:3: orphaned case
             int case;
                 ^
      and javac hangs.

            jjg Jonathan Gibbons
            vrudomet Victor Rudometov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: