PRE-PROPOSAL: Source and Encoding keyword

Neal Gafter neal at gafter.com
Sun Mar 15 18:11:38 PDT 2009


On Sun, Mar 15, 2009 at 5:45 PM, Reinier Zwitserloot
<reinier at zwitserloot.com> wrote:
> As I've mentioned at least twice on coin-dev already, the JLS only needs to
> specify how the 'source' keyword sets the 'source' property of the
> CompilationUnit that contains the source keyword. As far as the JLS is
> concerned, this is a string value that has no further meaning. It's a bit
> like a comment in this sense. To be crystal clear: ** The JLS will NOT
> specify what is supposed to happen when you write "source 1.1;" in a JLSv3
> view of the source file! **

That's fine, as long as the compiler obeys the language specification
(recognizing ALL keywords in the spec, etc) in order to obey the
platform specification.  In which case I don't see what the purpose of
placing this thing in the source file was in the first place.



More information about the coin-dev mailing list