[OpenJDK 2D-Dev] strange behaviour with Area.substract
philip.race at oracle.com
Mon Mar 19 09:34:30 PDT 2012
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
On 3/19/2012 12:50 AM, Geronimo Ma. Hernandez wrote:
> 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
> 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
> The difference between both test-cases is the point, *when* the circle is
> 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
More information about the 2d-dev