We tried, over a few rounds of the condy spec, to make claims about what kind
of exceptions can be thrown during resolution. Specifically, that anything
thrown will be an Error.
Bootstrap methods execute arbitrary code, so we wrap any non-Error that gets
thrown in a BootstrapMethodError. I
Paul,
Just to make sure we are in sync for now:
I think we are all in agreement that current Enums can not migrate to be
value types:
1. enums have identity
2. enums have java.lang.Enum abstract class as super-class, not java.lang.Object
3. there is no clear default value
4. enums have mutable
webrev: http://cr.openjdk.java.net/~dholmes/8191118/webrev/
I tried to produce specdiffs but specdiff seems broken. The links below
at least highlight the changed text but you can't navigate directly to it.
For java.lang.instrument the only change is in Instrumentation.java as
per the