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 e749838 commit 3211251Copy full SHA for 3211251
1 file changed
java_runtime/src/classes/java/util/random.rs
@@ -34,7 +34,7 @@ impl Random {
34
Ok(())
35
}
36
37
- async fn init_with_seed(jvm: &Jvm, _: &mut RuntimeContext, mut this: ClassInstanceRef<Self>, seed: i64) -> Result<()> {
+ async fn init_with_seed(jvm: &Jvm, _: &mut RuntimeContext, this: ClassInstanceRef<Self>, seed: i64) -> Result<()> {
38
tracing::debug!("java.util.Random::<init>({:?}, {:?})", &this, seed);
39
40
let _: () = jvm.invoke_special(&this, "java/lang/Object", "<init>", "()V", ()).await?;
0 commit comments