This is the mail archive of the java@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]

Re: [gcj trunk / gnu-classpath] String.format(...) undefined


Hanno Meyer-Thurow writes:
 > Hi list,
 > another error I get compiling JUnit-4.2 with gcj 4.2.20070216:
 > 
 >     [javac] 2. ERROR in /mnt/data/tmp/portage/dev-java/junit-4.2/work/junit4.2/org/junit/internal/requests/FilterRequest.java (at line 38)
 >     [javac] 	.format("No tests found matching %s from %s", fFilter
 >     [javac] 	 ^^^^^^
 >     [javac] The method format(String, String, String) is undefined for the type String

String.format is a Java 1.5 method.  gcj 4.2 supports a class library
that corresponds to Java 1.4.  gcj 4.3 will support a class library
that corresponds to Java 1.5.

Andrew.


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