mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
EA-83623 - NPE: JavaIntroduceParameterObjectClassDescriptor.areTypesCompatible
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
public class Param {
|
||||
private String s;
|
||||
|
||||
public Param(String s) {
|
||||
this.s = s;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
public void foo(int a, Param param) {}
|
||||
|
||||
{
|
||||
foo(1, new Param(""));
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public class Param {
|
||||
private String s;
|
||||
|
||||
public Param(String s) {
|
||||
this.s = s;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
public class Test {
|
||||
public void foo(int a, String b) {}
|
||||
|
||||
{
|
||||
foo(1, "");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user