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

TEST_BUG: tools/javac/QualifiedAccess/QualifiedAccess_3.java fails

XMLWordPrintable

    • x86
    • windows_vista

      JDK : Fails: 6u5 b10
                            Passes: 6u4

      Platform Tested : Windows Vista Home

      Failing Test [s] : tools/javac/QualifiedAccess/QualifiedAccess_3.java


          Test output:
          ============
      ----------System.out:(21/1090)*----------
      TESTSRC=Y:\\jdk\\6u10\\latest\\ws\\j2se est ools\\javac\\QualifiedAccess
      TESTJAVA=Y:/jdk/6u5/latest/binaries/windows-i586
      TESTCLASSES=Q:
      esults
      egression\\6u10\u000810
      egression-6u10-reg-winVista-2008-01-15-15-17-14-0440
      erun-6u5\\workDirCLASSPATH=
      QualifiedAccess_3.java:39: pack1.P1.Foo is not public in pack1.P1; cannot be accessed from outside package
              P1.Foo.Bar x = null; // ERROR - 'P1.Foo' not accessible
                ^
      QualifiedAccess_3.java:40: length in Array is defined in an inaccessible class or interface
              int i = p1.a.length; // ERROR - Type of 'a' not accessible
                          ^
      QualifiedAccess_3.java:43: privatei in pack1.P2 is defined in an inaccessible class or interface
              p1.p2.privatei = 3; // ERROR - Type of 'p1.p2' not accessible.
                   ^
      QualifiedAccess_3.java:44: privatei in pack1.P2 is defined in an inaccessible class or interface
              System.out.println (p1.p2.privatei); // ERROR - Type of 'p1.p2' not accessible.
                                       ^
      4 errors
      Failed
      ----------System.err:(2/106)----------
      [1] + Done(139) diff -c ${TESTSRC}${FS}QualifiedAccess_3.out ${TMP1}
        7800 Segmentation violation diff
      result: Failed. Execution failed: exit code 139

            jjg Jonathan Gibbons
            jaleesunw James Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: