REG: Assert/ Du test failures

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • None
    • Affects Version/s: 1.4.1
    • Component/s: tools
    • generic
    • generic

      Compilation of the following code should fail, but it is passing with b08 of Hopper.

      class DU3 {
          void f1() {
      final int i;
      assert true : i=5;
      i=6;
          }
      }


      *************

      Workspace location:
      ===================
      /net/sqindia.india.sun.com/export/disk03/coresqe/Tools/hopper/testbase/src/tools/javac/devRegTests

      Testcase names:
      ===============

      <WORKSPACE>/assert/DU3.java
      <WORKSPACE>/DefiniteAssignment/DUAssert.java


      NOTE: The functionality works fine till b07 of Hopper.

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: