Patch for java documentation, PR java/6993

Marco Trudel marco@mtsystems.ch
Mon Feb 23 18:13:00 GMT 2009


Steve Ellcey wrote:
> While looking at some documentation issues I came across PR java/6993
> which says that the limitation that all files must have the .java suffix
> on them when compiling multiple files is no longer applicable and that
> the documentation to that effect should be removed.

At least compiling .class and .java files together broke around January 
2007 (I think the change to ecj was the reason):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30515

So I guess in the limitation is applicable again...


Marco

> (This was from 2003.)
> Can we just remove that comment from the gcj man page?
> 
> Here is a patch to just delete that comment.  OK to checkin?
> 
> Steve Ellcey
> sje@cup.hp.com
> 
> 
> 
> 
> 2009-02-23  Steve Ellcey  <sje@cup.hp.com>
> 
> 	PR java/6993
> 	* gcj.texi (Options): Remove comment about input file name
> 	restriction.
> 
> 
> Index: gcj.texi
> ===================================================================
> --- gcj.texi	(revision 144379)
> +++ gcj.texi	(working copy)
> @@ -214,8 +214,6 @@ single output file, named @var{FILENAME}
>  This is allowed even when using @code{-S} or @code{-c},
>  but not when using @code{-C} or @code{--resource}.
>  (This is an extension beyond the what plain @command{gcc} allows.)
> -(If more than one input file is specified, all must currently
> -be @code{.java} files, though we hope to fix this.)
>  
>  @node Input Options
>  @section Input Options



More information about the Java-patches mailing list