We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3025363 commit de2c470Copy full SHA for de2c470
src/main/java/com/google/devtools/build/lib/unsafe/StringUnsafe.java
@@ -53,7 +53,8 @@ public final class StringUnsafe {
53
constructor.setAccessible(true);
54
CONSTRUCTOR = MethodHandles.lookup().unreflectConstructor(constructor);
55
56
- var stringLookup = MethodHandles.privateLookupIn(String.class, MethodHandles.lookup());
+ MethodHandles.Lookup stringLookup =
57
+ MethodHandles.privateLookupIn(String.class, MethodHandles.lookup());
58
VALUE_HANDLE = stringLookup.unreflectVarHandle(String.class.getDeclaredField("value"));
59
CODE_HANDLE = stringLookup.unreflectVarHandle(String.class.getDeclaredField("coder"));
60
} catch (ReflectiveOperationException e) {
0 commit comments