Using 'enum' keyword in java agent

I was under the impression that Domino 8 used the Java 1.5 (5.0) JVM to run; while attempting to make use of the enum functionality that was introduced in 1.5, I receive the following warning:“warning: as of release 1.5, ‘enum’ is a keyword, and may not be used as an identifier”.

Then “try -source 1.5 to use ‘enum’ as a keyword”.

This is followed by an error expecting a ‘;’ after the enum keyword, which I interpret as the compiler not making use of the 1.5 functionality. So my question is this - it seems like I have a 1.5 JVM and compiler, but that it is set by the Designer Client to compile in a 1.4 compatibility mode. Is there any way to modify this behavior?

Thanks,

Will

Subject: JavaCompilerTarget = 1.5 in notes.ini

Add

JavaCompilerTarget = 1.5

to your notes.ini.

If the agent needs to run on a server, this needs to be in the server’s notes.ini as well. It doesn’t need to be set for end users though. (according to my information - I haven’t tested it!)

Bruce