mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
welcome mock jdk 9 (IDEA-168823)
This commit is contained in:
+1
-1
@@ -3,6 +3,6 @@ import java.lang.invoke.*;
|
||||
public class Main {
|
||||
void foo() throws Throwable {
|
||||
MethodHandles.Lookup lookup = MethodHandles.lookup();
|
||||
lookup.findStaticVarHandle(Test.class, "psf1");
|
||||
lookup.findStaticVarHandle(Test.class, "psf1", char.class);
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,6 @@ import java.lang.invoke.*;
|
||||
public class Main {
|
||||
void foo() throws Throwable {
|
||||
MethodHandles.Lookup lookup = MethodHandles.lookup();
|
||||
lookup.findVarHandle(Test.class, "f1");
|
||||
lookup.findVarHandle(Test.class, "f1", int.class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user