From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Java for Plan 9? From: Richard Miller MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20011025155611.6D19D19A25@mail.cse.psu.edu> Date: Thu, 25 Oct 2001 12:28:19 +0100 Topicbox-Message-UUID: 0d38533a-eaca-11e9-9e20-41e7f4b1d025 > Java's peculiar insistence that class structure be wired into the source > file structure This is just an implementation artifact; it doesn't have to be done that way. The Java language specification says (7.2): "Each host determines how packages, compilation units, and subpackages are created and stored ... The packages may be stored in a local file system in simple implementations of the Java platform. Other implementations may use a distributed file system or some form of database to store source and/or binary code." Even if classes are stored one per file, there's no insistence that file names be identical to class names. (There couldn't be, because class names can contain non-ASCII Unicode characters which many operating systems -- Plan 9 excepted! -- can't cope with.) All that's required is a mapping between them. -- Richard Miller