OK. I got it. Many thanks guys. This is my 1st using source option with
<javac>.

-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005 12:52 PM
To: [email protected]
Subject: Re: <javac> source attribute

On Tue, 20 Dec 2005, Teck Hooi Lim <[EMAIL PROTECTED]> wrote:

>     [javac] d:\project\mybasic\src\com\acme\TestQueue.java:192:
>     warning: as of release 1.5, 'enum' is a keyword, and may not be
>     used as an identifier

This is a warning, without source="1.4" it would be an error.  That's
all the source attribute can do for you.  nowarn can be used to
disable warning on top of that.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to