* Ralf Wildenhues wrote on Sat, Jun 25, 2005 at 08:05:21AM CEST:
> * Eric Blake wrote on Fri, Jun 24, 2005 at 11:07:49PM CEST:
> >
> > It is valid Java (having been a former contributor to the jikes compiler
> > for Java), although naming a method A when the class is named A is
> > not normal practice (if you intended for those to be constructors, get
> > rid of the void keyword in [ABC].java).
*snip*
FYI: I have applied this patch to HEAD.
Regards,
Ralf
> * tests/convenience.at <GCJ>: Fix java test.
> Reported by Eric Blake <[EMAIL PROTECTED]>.
>
> Index: tests/convenience.at
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/tests/convenience.at,v
> retrieving revision 1.1
> diff -u -r1.1 convenience.at
> --- tests/convenience.at 27 Apr 2005 18:19:07 -0000 1.1
> +++ tests/convenience.at 25 Jun 2005 05:30:49 -0000
> @@ -119,19 +119,19 @@
> AT_DATA([A.java],
> [[public class A {
> private int a;
> - public void A () { a = 0; }
> + public A () { a = 0; }
> };
> ]])
> AT_DATA([B.java],
> [[public class B {
> private int b;
> - public void B () { b = 0; }
> + public B () { b = 0; }
> };
> ]])
> AT_DATA([C.java],
> [[public class C {
> private int c;
> - public void C () { c = 0; }
> + public C () { c = 0; }
> };
> ]])
> AT_DATA(foo.java,
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool