default constructor in inner class

Erik Poupaert erik.poupaert@chello.be
Fri Feb 28 19:40:00 GMT 2003


I've just bumped into this issue with GCJ 3.3.
SableCc defines an inner class which as no constructor:
 public static class State
 {
		public final static State INITIAL = new State();
 }
GCJ complains about this, and requires me to modify the template from which
it is generated, and institute explicitly an empty default constructor:
 public static class State
 {
		public State() {}
		public final static State INITIAL = new State();
 }
This piece of code comes from SableCc-2.16.2, which is a very stable
release.
Should I submit a trouble ticket for this?


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /