ClassLoaders throwing exceptions

2018-02-07 Thread Dan Smith
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

Re: JVMS draft for L-world value types with support for nullability

2018-02-07 Thread Karen Kinnear
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

[Nestmates] Spec updates to JVM TI, JDWP, JDI and java.lang.instrument for Class redefinition/retransformation

2018-02-07 Thread David Holmes
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