compiling with multiple versions of a class

Mark Reinhold mr at sun.com
Fri Feb 20 14:43:39 PST 2009


> Date: Tue, 10 Feb 2009 18:06:10 -0800
> From: jonathan.gibbons at sun.com

> Are there any credible scenarios in which we would expect a single
> compilation to be able to accomodate multiple versions of a class,
> either in a .class or a .java file? If so, are these scenarios
> important, or can we accept as a restriction that any one compilation
> can only handle one version of a class, and that it would be a
> compile-time error for different files in a compilation to depend on
> different versions of a class?

I can certainly live with that restriction, especially if
it makes the compiler (writer's) job significantly easier.

- Mark



More information about the jigsaw-dev mailing list