Hi, You probably should start off on the developer forums with these sort of user questions. This list isn't such a forum. Its for cooperation on the implementation of Java2D in OpenJDK.
A more appropriate post to this list would be referring to the lines of JDK internal source code you believe are at fault and proposing a solution. -phil. On 3/19/2012 12:50 AM, Geronimo Ma. Hernandez wrote:
Hello, I realized a strange behavior setting up a compound shape. I reduced my app to a small test-case, which I added. I also added a picture to visualize what happens. The jar is executable and I tested it with jdk 1.6.0_30 and jdk 1.7.0_03 The lines of interest are from method reCalcShape() of class FailedShape In this method a GeneralPath is assembled and a part of a circle should get subtracted from the GeneralPath. I added a boolean "avoidFailure" to switch between strange behavior and normal operation. The difference between both test-cases is the point, *when* the circle is created. In my code, there's no transformation, but it looks like whether changing the coordinate of a Point creates a transformation. This is not desired, so I'd like to know, whether the strange behavior is some lack of understanding or whether it might be a bug. kind regards Gero