You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
385 B
24 lines
385 B
package pkg;
|
|
|
|
class TestPrimitiveNarrowing {
|
|
|
|
TestPrimitiveNarrowing(Short value) {
|
|
}
|
|
|
|
static void invocations() {
|
|
withInteger(null);
|
|
withShort(null);
|
|
withByte(null);
|
|
new TestPrimitiveNarrowing(null);
|
|
}
|
|
|
|
static void withByte(Byte defaultValue) {
|
|
}
|
|
|
|
static void withInteger(Integer defaultValue) {
|
|
}
|
|
|
|
static void withShort(Short defaultValue) {
|
|
}
|
|
|
|
}
|
|
|