This fixes a couple of visibility errors spotted by reverse JAPI. ChangeLog:
2008-03-11 Andrew John Hughes <[EMAIL PROTECTED]>
* java/awt/MouseInfo.java:
(MouseInfo()): Private constructor to prevent
instance creation.
* java/lang/AbstractStringBuilder.java:
(ensureCapacity_unsynchronized(int)): Make
package-private, not protected.
--
Andrew :)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
Index: java/awt/MouseInfo.java
===================================================================
RCS file: /sources/classpath/classpath/java/awt/MouseInfo.java,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1 MouseInfo.java
--- java/awt/MouseInfo.java 15 Jul 2006 08:02:23 -0000 1.1
+++ java/awt/MouseInfo.java 11 Mar 2008 23:42:44 -0000
@@ -51,6 +51,13 @@ public class MouseInfo
private static MouseInfoPeer peer;
/**
+ * Private constructor to prevent instance creation.
+ */
+ private MouseInfo()
+ {
+ }
+
+ /**
* Returns a PointerInfo object containing information about the current
* location of the mouse pointer
*
Index: java/lang/AbstractStringBuffer.java
===================================================================
RCS file: /sources/classpath/classpath/java/lang/AbstractStringBuffer.java,v
retrieving revision 1.2
diff -u -3 -p -u -r1.2 AbstractStringBuffer.java
--- java/lang/AbstractStringBuffer.java 29 Feb 2008 21:55:09 -0000 1.2
+++ java/lang/AbstractStringBuffer.java 11 Mar 2008 23:42:45 -0000
@@ -999,7 +999,7 @@ abstract class AbstractStringBuffer
* @param minimumCapacity the new capacity
* @see #capacity()
*/
- protected void ensureCapacity_unsynchronized(int minimumCapacity)
+ void ensureCapacity_unsynchronized(int minimumCapacity)
{
if (minimumCapacity > value.length)
{
signature.asc
Description: Digital signature
