classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] specify -source 1.4 to ecj


From: Thomas Fitzsimmons
Subject: [cp-patches] specify -source 1.4 to ecj
Date: Mon, 12 Sep 2005 13:54:48 -0400

Hi,

ecj defaults to 1.3-level source compliance, which doesn't allow the
assert keyword.  I committed this patch to compile GNU Classpath at the
1.4-level.  This is needed to support the asserts we're now introducing.

Tom

2005-09-12  Thomas Fitzsimmons  <address@hidden>

        * lib/Makefile.am (JAVAC): Specify -source 1.4 to ecj.

Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.101
diff -u -r1.101 Makefile.am
--- lib/Makefile.am     4 Sep 2005 13:55:54 -0000       1.101
+++ lib/Makefile.am     12 Sep 2005 17:48:02 -0000
@@ -29,7 +29,7 @@
 JAVAC = $(GCJX) -encoding UTF-8 -classpath .:$(USER_CLASSLIB) -d . @classes
 else
 if FOUND_ECJ
-JAVAC = $(ECJ) -encoding UTF-8 -warn:none -proceedOnError -bootclasspath '' 
-classpath $(compile_classpath) -d . @classes
+JAVAC = $(ECJ) -source 1.4 -encoding UTF-8 -warn:none -proceedOnError 
-bootclasspath '' -classpath $(compile_classpath) -d . @classes
 endif # FOUND_ECJ
 endif # FOUND_GCJX
 endif # FOUND_KJC

reply via email to

[Prev in Thread] Current Thread [Next in Thread]