This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Re: [patch #2] String.getBytes()


> In this case I think we should just revert to using the 8859_1
> encoding (for now; maybe later utf-8 would be a better choice).

It may be more correct to re-throw a non-checked exception,
on the the theory that it is better to get an exception than
silently do something different than the user asked for.

	--Per Bothner
Cygnus Solutions     bothner@cygnus.com     http://www.cygnus.com/~bothner