classpath
[Top][All Lists]
Advanced

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

Re: Multi-byte locales


From: Stephen Crawley
Subject: Re: Multi-byte locales
Date: Wed, 19 Oct 2005 23:20:42 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

Tom Tromey wrote:

"Florian" == Florian Weimer <address@hidden> writes:


Florian> On a related note, is it possible to access the command line
Florian> as an array of byte arrays?

Nope.

To elaborate.  As far as I know, none of Sun's Java implementations since
(at least) JDK 1.1 have offered the ability to get at the command line args as
bytes.  I would imagine that Sun's view would be that 1) this is unnecessary
and, 2) it may not be implementable on some platforms.
IMO, it would be a bad idea to add such functionality to Classpath (as GNU
extensions to Java), or to individual Java VM's (as VM specific extensions
to Java). The reasons are 1) and 2) above, AND the fact that any significant
"unofficial" extensions to the Java platform will tend to lead to problems
in porting Java applications across Java platforms, and hence to platform lock-in.

-- Steve








reply via email to

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