Skip to content

Commit ea5249d

Browse files
committed
Fix invalid log
1 parent 5f33aef commit ea5249d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java_runtime/src/classes/java/io/byte_array_input_stream.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl ByteArrayInputStream {
3030
}
3131

3232
async fn init(jvm: &Jvm, _: &mut RuntimeContext, mut this: ClassInstanceRef<Self>, data: ClassInstanceRef<Array<i8>>) -> Result<()> {
33-
tracing::debug!("java.lang.ByteArrayInputStream::<init>({:?}, {:?})", &this, &data);
33+
tracing::debug!("java.io.ByteArrayInputStream::<init>({:?}, {:?})", &this, &data);
3434

3535
jvm.put_field(&mut this, "buf", "[B", data).await?;
3636
jvm.put_field(&mut this, "pos", "I", 0).await?;
@@ -39,7 +39,7 @@ impl ByteArrayInputStream {
3939
}
4040

4141
async fn available(jvm: &Jvm, _: &mut RuntimeContext, this: ClassInstanceRef<Self>) -> Result<i32> {
42-
tracing::debug!("java.lang.ByteArrayInputStream::available({:?})", &this);
42+
tracing::debug!("java.io.ByteArrayInputStream::available({:?})", &this);
4343

4444
let buf = jvm.get_field(&this, "buf", "[B").await?;
4545
let pos: i32 = jvm.get_field(&this, "pos", "I").await?;
@@ -56,7 +56,7 @@ impl ByteArrayInputStream {
5656
off: i32,
5757
len: i32,
5858
) -> Result<i32> {
59-
tracing::debug!("java.lang.ByteArrayInputStream::read({:?}, {:?}, {}, {})", &this, &b, off, len);
59+
tracing::debug!("java.io.ByteArrayInputStream::read({:?}, {:?}, {}, {})", &this, &b, off, len);
6060

6161
let buf = jvm.get_field(&this, "buf", "[B").await?;
6262
let buf_length = jvm.array_length(&buf).await?;

0 commit comments

Comments
 (0)