javac generally does a very literal translation of Java source code
into bytecode.
Assuming such a literal translation, javac doesn't have any real
responsibilities
with regards to JSR-133: all the obligations are on the JVM.
Of course, if you have a Java source to bytecode compiler that does
transformations
and optimizations, then the source code to bytecode compiler is
responsible for
following all of the semantics described by JSR-133.
Bill
On Jul 12, 2004, at 2:05 AM, Mehra, Pankaj wrote:
> Hi folks.
>
> I've been tracking this work for about a year and glad to see it come
> to
> fruition.
>
> Question: Is there a clear statement somewhere of how the
> responsibilities for implementing JSR133 are to be divided between the
> compiler and the VM?
>
> I appreciate your help.
>
> Pankaj Mehra
> HP
>
> -------------------------------
> JavaMemoryModel mailing list -
> http://www.cs.umd.edu/~pugh/java/memoryModel
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:01:08 EDT