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

Manual Reg Testcase java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java compilation fails

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Testsuite name: AWT manual
      JDK/JRE tested: 6u18b03
      OS/architecture: WindowsXPPro-SP3/x86
      Reproducible: Always
      Reproducible on machine:
      [If sometimes] Also reproducible on machine:
      Is it a platform specific regression: N
      [If yes] Is it a new platform support: Y/N
      [If yes] Regression relative to OS version:
      Is it a Regression: N
      [If yes] Regression introduced in release/build:
      [If yes] Test result on FCS: Pass/Fail
      Test result on FCS: Pass/Fail(FCS build not released yet)
      Test run log location:

      Steps to reproduce:
      1. launch test case of java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.html
      2. This is a case issue.The java code has a few errors,OldScrollEvents isn't completed.So it was failed when complied OldScrollEvents.java with jdk6u18 on all platform.Pls update java file accordingly.
      The testcase compilation fails.

      It gives the following error:

      ----------System.err:(21/1320)*----------
      /workspace/yhlong/awt/reg/workspace_awt_reg_1600909/awt/java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java:25: cannot find symbol
      symbol : class OldScrollbar
      location: class OldScrollEvents
          OldScrollbar scroll = new OldScrollbar(Scrollbar.HORIZONTAL,20 ,1 ,0, 100);
          ^
      /workspace/yhlong/awt/reg/workspace_awt_reg_1600909/awt/java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java:25: cannot find symbol
      symbol : class OldScrollbar
      location: class OldScrollEvents
          OldScrollbar scroll = new OldScrollbar(Scrollbar.HORIZONTAL,20 ,1 ,0, 100);
                                    ^
      /workspace/yhlong/awt/reg/workspace_awt_reg_1600909/awt/java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java:38: cannot find symbol
      symbol : variable OldScrollbar
      location: class OldScrollEvents
                         "During the thumb is draging, messages \\""+OldScrollbar.DRAGGING+"\\" are printing.",
                                                                    ^
      /workspace/yhlong/awt/reg/workspace_awt_reg_1600909/awt/java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java:39: cannot find symbol
      symbol : variable OldScrollbar
      location: class OldScrollEvents
                         "2. Release the thumb. Messege \\""+OldScrollbar.RELEASED+"\\" must appear.",
                                                            ^
      4 errors
      result: Failed. Compilation failed


      test result: Failed. Compilation failed

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mkhramov Maksim Khramov (Inactive)
                Reporter:
                tonyli Tony Li
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: