This commit is contained in:
parent
8da3ee4fa7
commit
19a8bb40e4
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ public class Strategy {
|
|||
try {
|
||||
String s = "hi";
|
||||
IFieldAccess<Object> field = value.instance(String.class.getDeclaredField("value"));
|
||||
char[] original = (char[]) field.get(s);
|
||||
byte[] original = (byte[]) field.get(s);
|
||||
field.set(s, field.get("hi!"));
|
||||
//noinspection ConstantValue
|
||||
if(s.equals("hi!")) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue