Hi, gcj had some trouble with the package private orientation field in Component and the protected orientation field in BasicSplitPaneDivider as used in some of its inner classes. Luckily the orientation field in Component isn't actually use visible or used for serialization. So to make the autobuilder happy I renamed it:
2006-08-16 Mark Wielaard <[EMAIL PROTECTED]>
* java/awt/Component.java (orientation): Renamed to
componentOrientation.
(setComponentOrientation): Use new field name.
(getComponentOrientation): Likewise.
This should keep us happy till the ecj-gcj preprocessor is made the
default in gcc.
Cheers,
Mark
Index: java/awt/Component.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/Component.java,v
retrieving revision 1.145
diff -u -r1.145 Component.java
--- java/awt/Component.java 8 Aug 2006 16:02:52 -0000 1.145
+++ java/awt/Component.java 16 Aug 2006 20:25:10 -0000
@@ -579,7 +579,7 @@
transient ComponentPeer peer;
/** The preferred component orientation. */
- transient ComponentOrientation orientation = ComponentOrientation.UNKNOWN;
+ transient ComponentOrientation componentOrientation = ComponentOrientation.UNKNOWN;
/**
* The associated graphics configuration.
@@ -5243,8 +5243,8 @@
public void setComponentOrientation(ComponentOrientation o)
{
- ComponentOrientation oldOrientation = orientation;
- orientation = o;
+ ComponentOrientation oldOrientation = componentOrientation;
+ componentOrientation = o;
firePropertyChange("componentOrientation", oldOrientation, o);
}
@@ -5256,7 +5256,7 @@
*/
public ComponentOrientation getComponentOrientation()
{
- return orientation;
+ return componentOrientation;
}
/**
signature.asc
Description: This is a digitally signed message part
