JDK-6894033 : Manual Reg Testcase java/awt/Scrollbar/OldScrollEvents/OldScrollEvents.java compilation fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u18
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-10-22
  • Updated: 2015-07-02
  • Resolved: 2015-07-02
Related Reports
Duplicate :  
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

Comments
EVALUATION Bug in the test.
17-08-2010