mrglavas 2004/06/21 11:22:44 Modified: java/src/org/apache/xerces/impl/xs SchemaGrammar.java Log: Fixing Jira Bug #470:
http://nagoya.apache.org/jira/browse/XERCESJ-470 The call to a private super constructor in BuiltinSchemaGrammar seems to violate VM specifications. An anonymous class: SchemaGrammar$1.class seems to be related to a private constructor declared on SchemaGrammar which is implicitly called from a constructor in the static nested class BuiltinSchemaGrammar (which extends SchemaGrammar). This class appears to be malformed [1]. Changing the access modifier from private to protected on the no arguments constructor of SchemaGrammar to eliminate this anonymous class. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=67600 Revision Changes Path 1.38 +2 -2 xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java Index: SchemaGrammar.java =================================================================== RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/xs/SchemaGrammar.java,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- SchemaGrammar.java 15 May 2004 22:13:12 -0000 1.37 +++ SchemaGrammar.java 21 Jun 2004 18:22:44 -0000 1.38 @@ -100,7 +100,7 @@ // // needed to make BuiltinSchemaGrammar work. - private SchemaGrammar() {} + protected SchemaGrammar() {} /** * Default constructor. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]