|
CVS kaffe-extras (kaz): Added kaffe-extras/patches/kjc-main-checkInitialize: msg#00121java.vm.kaffe.general
PatchSet 18 Date: 2003/11/21 22:56:39 Author: kaz Branch: HEAD Tag: (none) Log: Added kaffe-extras/patches/kjc-main-checkInitializers.diff. This is to prevent some constant fields from being left unset. Members: patches/kjc-main-checkInitializers.diff:INITIAL->1.1 =================================================================== Checking out kaffe-extras/patches/kjc-main-checkInitializers.diff RCS: /home/cvs/kaffe/kaffe-extras/patches/kjc-main-checkInitializers.diff,v VERS: 1.1 *************** --- /dev/null Sun Aug 4 19:57:58 2002 +++ kaffe-extras/patches/kjc-main-checkInitializers.diff Fri Nov 21 22:56:40 2003 @@ -0,0 +1,22 @@ +--- kopi-2.1B/src/kjc/Main.java.orig 2002-07-16 03:53:32.000000000 +0900 ++++ kopi-2.1B/src/kjc/Main.java 2003-11-21 11:33:46.000000000 +0900 +@@ -179,6 +179,18 @@ + return false; + } + ++ /* Check once again. ++ * If we could know whether this second round of checkInitializers is ++ * needed or not, we would be able to skip it. ++ */ ++ for (int count = 0; count < tree.length; count++) { ++ checkInitializers(tree[count]); ++ } ++ ++ if (errorFound) { ++ return false; ++ } ++ + for (int count = 0; count < tree.length; count++) { + checkBody(tree[count]); + if (!options.java && !options.beautify && !(environment.getAssertExtension() == KjcEnvironment.AS_ALL)) { +
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Planning for 1.1.3 release, Dalibor Topic |
|---|---|
| Next by Date: | Re: Re: error:Switch label must be constant [JLS 14.10], Ito Kazumitsu |
| Previous by Thread: | GregorianCalendar fixes, Mark Wielaard |
| Next by Thread: | CVS kaffe-extras (guilhem): Updated build.xml to use Ito's patch., Kaffe CVS |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |