I have a runnable with this code inside it
public void run() {
while(enabled) {
long wait = 50000000L;
System.out.println(wait);
}
}
I have no access to the following code, but I want to modify the wait value(make the it tick faster, this is just a simplified version of it)
Edit: I need to modify it during runtime, and I know about reflection I just don't know if you can use it in this case
Aucun commentaire:
Enregistrer un commentaire