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

REG: Assert/ Du test failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.1
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: