This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: [4.0]: work around PR 9369


I'm checking this in on the trunk.  I'd also like to check this in on
the 4.0 branch.  Ok?


This works around an instance of PR 9369, and fixes Red Hat bugzilla
155085.  This affects Eclipse.  I wasn't sure if the RH PR should be
mentioned in the ChangeLog or not.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* gnu/xml/pipeline/ValidationConsumer.java (Recognizer): Make
	'ANY' package-private.

Index: gnu/xml/pipeline/ValidationConsumer.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/xml/pipeline/ValidationConsumer.java,v
retrieving revision 1.2
diff -u -r1.2 ValidationConsumer.java
--- gnu/xml/pipeline/ValidationConsumer.java 17 Feb 2005 18:26:32 -0000 1.2
+++ gnu/xml/pipeline/ValidationConsumer.java 16 Apr 2005 20:24:49 -0000
@@ -1,5 +1,5 @@
 /* ValidationConsumer.java -- 
-   Copyright (C) 1999,2000,2001 Free Software Foundation, Inc.
+   Copyright (C) 1999,2000,2001, 2005 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -1323,7 +1323,8 @@
     // Content model validation
     //
 
-    static private final Recognizer	ANY = new Recognizer (null);
+    // GCJ LOCAL: package private to work around gcj bug.
+    static final Recognizer	ANY = new Recognizer (null);
 
 
     // Base class defines the calls used to validate content,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]