-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
6u22
-
x86
-
windows_7
FULL PRODUCT VERSION :
java version "1.6.0_21"
java <TM> SE Runtime Enviroment <build 1.6.0_21-b07>
Java HotSpot <TM> Client VM <build 17.0-b17, mixed mode, sharing>
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Wersja 6.1.7600]
A DESCRIPTION OF THE PROBLEM :
In the API in each java release, the descriptions of the java.awt.geom.AffineTransform.concatenate(AffineTransform Tx) and java.awt.geom.AffineTransform.preConcatenate(AffineTransform Tx) are either switched or the functionality of those methods are switched. the concatenate method description states:
[this]=[this]x[Tx],but actualy is
[this]=[Tx]x[this]
same problem with preConcatenate.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
switch the functionality of both of this methods, so the concatenate does what preConcatenate does, and in the other way with preConcatenate
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
concatenate should do: [this]=[this]x[Tx]
preConcatenate should do:[this]=[Tx]x[this]
ACTUAL -
concatenate does: [this]=[Tx]x[this]
preConcatenate does:[this]=[this]x[Tx]
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
switching the use of both methods.
java version "1.6.0_21"
java <TM> SE Runtime Enviroment <build 1.6.0_21-b07>
Java HotSpot <TM> Client VM <build 17.0-b17, mixed mode, sharing>
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Wersja 6.1.7600]
A DESCRIPTION OF THE PROBLEM :
In the API in each java release, the descriptions of the java.awt.geom.AffineTransform.concatenate(AffineTransform Tx) and java.awt.geom.AffineTransform.preConcatenate(AffineTransform Tx) are either switched or the functionality of those methods are switched. the concatenate method description states:
[this]=[this]x[Tx],but actualy is
[this]=[Tx]x[this]
same problem with preConcatenate.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
switch the functionality of both of this methods, so the concatenate does what preConcatenate does, and in the other way with preConcatenate
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
concatenate should do: [this]=[this]x[Tx]
preConcatenate should do:[this]=[Tx]x[this]
ACTUAL -
concatenate does: [this]=[Tx]x[this]
preConcatenate does:[this]=[this]x[Tx]
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
switching the use of both methods.