-
Bug
-
Resolution: Fixed
-
P1
-
5.0u17-rev
-
b08
-
b09
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2174414 | 5.0u19 | Vladislav Karnaukhov | P3 | Resolved | Fixed | b01 |
api/javax_swing/JViewport/index.html#setgetXXX : JViewport setgetXXX tests
JCK : JCK runtime 1.5a b11
J2SE : FAIL - since jdk 5u17 build 08
Platform[s] : FAIL - Any (Noticed in Linux and Solaris)
Java options : FAIL - Any
Steps to reproduce:
1. Install jdk (for example to /export/jdk/jdk1.5.0_17)
2. Install JCK (for example to /export/JCK/JCK-runtime-15a, installed one could be found at /java/re/jck/1.5a/latest/binaries/JCK-runtime-15a/)
3. Modify the simple script below accordingly and run it
#!/bin/bash
export JAVA=/export/jdk/jdk1.5.0_17/bin/java
export CLASSPATH="/export/JCK/JCK-runtime-15a/classes"
OPTS=""
TEST="javasoft.sqe.tests.api.javax.swing.JViewport.setgetXXXTests"
$JAVA $OPTS -version
$JAVA $OPTS $TEST
Output will be
JViewport0003: Passed. OKAY
JViewport0004: Passed. OKAY
JViewport0005: Passed. OKAY
JViewport0006: Passed. OKAY
JViewport0007: Passed. OKAY
JViewport0008: Passed. OKAY
JViewport0009: Passed. OKAY
JViewport0010: Passed. OKAY
JViewport0011: Passed. OKAY
JViewport0012: Passed. OKAY
JViewport0013: Passed. OKAY
JViewport0014: Passed. OKAY
JViewport0015: Failed. protected boolean computeBlit(int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint) Test Failed 0
JViewport0018: Passed. OKAY
JViewport0019: Passed. OKAY
JViewport0020: Passed. OKAY
dy=-10
blitFrom=java.awt.Point[x=0,y=0]
blitTo=java.awt.Point[x=0,y=0]
blitSize=java.awt.Dimension[width=0,height=0]
blitPaint=java.awt.Rectangle[x=0,y=0,width=0,height=0]
STATUS:Failed.test cases: 16; passed: 15; failed: 1; first test case failure: JViewport0015
Source of teh test could be found at /java/re/jck/1.5a/latest/binaries/JCK-runtime-15a/tests/api/javax_swing/JViewport/setgetXXXTests.java
Please see a reduced test source in comment.
JViewport0015 test case consist of 4 smaller testcases. Commenting out any 3 of them and running test we can see that any of this smaller testcases is failing.
JCK : JCK runtime 1.5a b11
J2SE : FAIL - since jdk 5u17 build 08
Platform[s] : FAIL - Any (Noticed in Linux and Solaris)
Java options : FAIL - Any
Steps to reproduce:
1. Install jdk (for example to /export/jdk/jdk1.5.0_17)
2. Install JCK (for example to /export/JCK/JCK-runtime-15a, installed one could be found at /java/re/jck/1.5a/latest/binaries/JCK-runtime-15a/)
3. Modify the simple script below accordingly and run it
#!/bin/bash
export JAVA=/export/jdk/jdk1.5.0_17/bin/java
export CLASSPATH="/export/JCK/JCK-runtime-15a/classes"
OPTS=""
TEST="javasoft.sqe.tests.api.javax.swing.JViewport.setgetXXXTests"
$JAVA $OPTS -version
$JAVA $OPTS $TEST
Output will be
JViewport0003: Passed. OKAY
JViewport0004: Passed. OKAY
JViewport0005: Passed. OKAY
JViewport0006: Passed. OKAY
JViewport0007: Passed. OKAY
JViewport0008: Passed. OKAY
JViewport0009: Passed. OKAY
JViewport0010: Passed. OKAY
JViewport0011: Passed. OKAY
JViewport0012: Passed. OKAY
JViewport0013: Passed. OKAY
JViewport0014: Passed. OKAY
JViewport0015: Failed. protected boolean computeBlit(int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint) Test Failed 0
JViewport0018: Passed. OKAY
JViewport0019: Passed. OKAY
JViewport0020: Passed. OKAY
dy=-10
blitFrom=java.awt.Point[x=0,y=0]
blitTo=java.awt.Point[x=0,y=0]
blitSize=java.awt.Dimension[width=0,height=0]
blitPaint=java.awt.Rectangle[x=0,y=0,width=0,height=0]
STATUS:Failed.test cases: 16; passed: 15; failed: 1; first test case failure: JViewport0015
Source of teh test could be found at /java/re/jck/1.5a/latest/binaries/JCK-runtime-15a/tests/api/javax_swing/JViewport/setgetXXXTests.java
Please see a reduced test source in comment.
JViewport0015 test case consist of 4 smaller testcases. Commenting out any 3 of them and running test we can see that any of this smaller testcases is failing.
- backported by
-
JDK-2174414 api/javax_swing/JViewport/index.html#setgetXXX JCK test fails starting from JDK 1.5.0_17b08(j4b)
- Resolved
- relates to
-
JDK-2149318 JTable header rendering problem (after setting preferred size)
- Closed