[multiple changes]

2003-09-25  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/font/FontRenderContext.java (getTransform): Return
	copy of internal transform object. Add Javadoc.
	* java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
	winding rule as Sun J2SE.
	* javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.

2003-09-25  Ingo Proetel  <proetel@aicas.com>

	* java/rmi/Naming.java:
	Added comments, now accepts pseudo protocol "rmi".

From-SVN: r71777
This commit is contained in:
Michael Koch 2003-09-25 14:38:02 +00:00
parent 029e256e27
commit bc7ac0d88b
5 changed files with 80 additions and 4 deletions

View file

@ -399,7 +399,13 @@ public abstract class Rectangle2D extends RectangularShape
public int getWindingRule()
{
return WIND_EVEN_ODD;
// A test program showed that Sun J2SE 1.3.1 and 1.4.1_01
// return WIND_NON_ZERO paths. While this does not really
// make any difference for rectangles (because they are not
// self-intersecting), it seems appropriate to behave
// identically.
return WIND_NON_ZERO;
}
public boolean isDone()