-
Bug
-
Resolution: Not an Issue
-
P4
-
repo-valhalla
value class MyValue {
int x = 0;
}
public class Test {
static void method(Object o) { }
public static void main(String[] args) {
// (1)
MyValue val = new MyValue();
// (2)
method(new MyValue());
}
}
If I only have (1), then Test.class has a MyValue preload attribute.
If I only have (2), there is no preload attribute.
int x = 0;
}
public class Test {
static void method(Object o) { }
public static void main(String[] args) {
// (1)
MyValue val = new MyValue();
// (2)
method(new MyValue());
}
}
If I only have (1), then Test.class has a MyValue preload attribute.
If I only have (2), there is no preload attribute.