Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6710434
Votes 0
Synopsis PIT: Reg test java/awt/Graphics2D/ClipPrimitivesTest.java fails in pit build 6u10_b26
Category java:classes_2d
Reported Against
Release Fixed 6u10(b26)
State 10-Fix Delivered, Verified, bug
Priority: 3-Medium
Related Bugs 6670881
Submit Date 04-JUN-2008
Description
The regression testcase java/awt/Graphics2D/ClipPrimitivesTest.java fails with the current pit build 6u10_b26. Its failing on all the platforms windows/linux/solaris.

I tested it on Windows Xp Home, Solaris Sparc 10, Rhel4
It passes with the previous 6u10 builds.

The .jtr file is also attached.

The output of the testcase is as follows:
----------messages:(3/126)----------
command: main ClipPrimitivesTest
reason: User specified action: run main ClipPrimitivesTest 
elapsed time (seconds): 1.203
----------System.out:(0/0)----------
----------System.err:(18/1178)----------
Has non-backColor pixel at (18,62)
java.lang.RuntimeException: Test Failed. drawOval/fillOval is rendered outside the clipping
	at ClipPrimitivesTest.reportProblem(ClipPrimitivesTest.java:208)
	at ClipPrimitivesTest.testPrimitive(ClipPrimitivesTest.java:147)
	at ClipPrimitivesTest.testClipping(ClipPrimitivesTest.java:156)
	at ClipPrimitivesTest.testAllPrimitives(ClipPrimitivesTest.java:324)
	at ClipPrimitivesTest.main(ClipPrimitivesTest.java:349)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
	at java.lang.Thread.run(Thread.java:619)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed. drawOval/fillOval is rendered outside the clipping
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed. drawOval/fillOval is rendered outside the clipping
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed. drawOval/fillOval is rendered outside the clipping

test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed. drawOval/fillOval is rendered outside the clipping
Posted Date : 2008-06-04 10:22:06.0
Work Around
N/A
Evaluation
This is a regression caused by the fix for
  6670881: Phantom lines appear when rendering polygons & ellipses with antialiasing OFF

after I backed off this fix the test passed.
Posted Date : 2008-06-05 16:46:17.0

The problem is that fix of the 6670881 uses upper boundaries of clipping as inclusive ones but should use them as exclusive.
Posted Date : 2008-06-05 22:14:52.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang