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

HS1.4: javac cannot compile NSK test nsk/regression/b4268494

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: elR10090 Date: 04/04/2001



      Javac (build 1.4.0-beta-b58) cannot compile the test

          nsk/regression/b4268494

      The test uses seven classes:

          b4268494,
          b4268494a,
          b4268494b,
          b4268494c,
          b4268494d,
          b4268494e,
          b4268494_1/b4268494_1_1/b4268494f
          
      Note, that the class b4268494 creates instance of the class
      b4268494_1.b4268494_1_1.b4268494f. The class b4268494_1.b4268494_1_1.b4268494f
      tries but fails to import b4268494b and b4268494c.
      See log:

      #b4268494_1/b4268494_1_1/b4268494f.java:12: '.' expected
      #import b4268494c;
      # ^
      #b4268494_1/b4268494_1_1/b4268494f.java:13: '.' expected
      #import b4268494b;
      # ^
      #b4268494_1/b4268494_1_1/b4268494f.java:15: cannot resolve symbol
      #symbol : class b4268494c
      #location: class b4268494_1.b4268494_1_1.b4268494f
      #public class b4268494f extends b4268494c {
      # ^
      #b4268494_1/b4268494_1_1/b4268494f.java:152: cannot resolve symbol
      #symbol : class b4268494b
      #location: class b4268494_1.b4268494_1_1.b4268494f
      # final b4268494b dp = new b4268494b(new b4268494f());
      # ^
      #b4268494_1/b4268494_1_1/b4268494f.java:152: cannot resolve symbol
      #symbol : class b4268494b
      #location: class b4268494_1.b4268494_1_1.b4268494f
      # final b4268494b dp = new b4268494b(new b4268494f());
      # ^
      #5 errors

      Merlin (build 1.4.0-beta-b50) and Ladybird (build 1.3.1-rc1-b19)
      javac compile this test succesfully.

      The test belongs to the testbase_nsk testbase located at:

          /net/sqesvr.eng/export/vsn/VM/testbase/testbase_nsk.v14

      To reproduce the failure please use 'doit.sh' script found
      in the directory:

          /net/sqesvr.eng/export/vsn/VM/GammaBase/Bugs/<this bug number>

      Use:
          sh doit.sh $JAVA_HOME

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gafter Neal Gafter
                Reporter:
                latkinsunw Latkin Latkin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: