@@ -46,7 +46,7 @@ impl Thread {
4646 }
4747
4848 async fn init ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < ( ) > {
49- tracing:: debug!( "Thread::<init>({:?})" , & this) ;
49+ tracing:: debug!( "java.lang. Thread::<init>({:?})" , & this) ;
5050
5151 let _: ( ) = jvm. invoke_special ( & this, "java/lang/Object" , "<init>" , "()V" , ( ) ) . await ?;
5252
@@ -59,7 +59,7 @@ impl Thread {
5959 mut this : ClassInstanceRef < Self > ,
6060 target : ClassInstanceRef < Runnable > ,
6161 ) -> Result < ( ) > {
62- tracing:: debug!( "Thread::<init>({:?}, {:?})" , & this, & target) ;
62+ tracing:: debug!( "java.lang. Thread::<init>({:?}, {:?})" , & this, & target) ;
6363
6464 let _: ( ) = jvm. invoke_special ( & this, "java/lang/Object" , "<init>" , "()V" , ( ) ) . await ?;
6565
@@ -69,7 +69,7 @@ impl Thread {
6969 }
7070
7171 async fn init_internal ( jvm : & Jvm , context : & mut RuntimeContext , mut this : ClassInstanceRef < Self > , internal : bool ) -> Result < ( ) > {
72- tracing:: debug!( "Thread::<init>({:?}, {:?})" , & this, internal) ;
72+ tracing:: debug!( "java.lang. Thread::<init>({:?}, {:?})" , & this, internal) ;
7373
7474 let id = context. current_task_id ( ) ;
7575 jvm. put_field ( & mut this, "id" , "J" , id as i64 ) . await ?;
@@ -78,7 +78,7 @@ impl Thread {
7878 }
7979
8080 async fn start ( jvm : & Jvm , context : & mut RuntimeContext , mut this : ClassInstanceRef < Self > ) -> Result < ( ) > {
81- tracing:: debug!( "Thread::start({:?})" , & this) ;
81+ tracing:: debug!( "java.lang. Thread::start({:?})" , & this) ;
8282
8383 struct ThreadStartProxy {
8484 jvm : Jvm ,
@@ -124,7 +124,7 @@ impl Thread {
124124 }
125125
126126 async fn run ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < ( ) > {
127- tracing:: debug!( "Thread::run({:?})" , & this) ;
127+ tracing:: debug!( "java.lang. Thread::run({:?})" , & this) ;
128128
129129 let target: ClassInstanceRef < Runnable > = jvm. get_field ( & this, "target" , "Ljava/lang/Runnable;" ) . await ?;
130130 if !target. is_null ( ) {
@@ -135,7 +135,7 @@ impl Thread {
135135 }
136136
137137 async fn join ( jvm : & Jvm , _context : & mut RuntimeContext , mut this : ClassInstanceRef < Self > ) -> Result < ( ) > {
138- tracing:: debug!( "Thread::join({:?})" , & this) ;
138+ tracing:: debug!( "java.lang. Thread::join({:?})" , & this) ;
139139
140140 // TODO we don't have get same field twice
141141 let raw_join_event: ClassInstanceRef < Array < i8 > > = jvm. get_field ( & this, "joinEvent" , "[B" ) . await ?;
@@ -152,21 +152,21 @@ impl Thread {
152152 }
153153
154154 async fn is_alive ( _jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > ) -> Result < bool > {
155- tracing:: warn!( "stub Thread::isAlive({:?})" , & this) ;
155+ tracing:: warn!( "stub java.lang. Thread::isAlive({:?})" , & this) ;
156156
157157 Ok ( true )
158158 }
159159
160160 async fn sleep ( _: & Jvm , context : & mut RuntimeContext , duration : i64 ) -> Result < ( ) > {
161- tracing:: debug!( "Thread::sleep({:?})" , duration) ;
161+ tracing:: debug!( "java.lang. Thread::sleep({:?})" , duration) ;
162162
163163 context. sleep ( Duration :: from_millis ( duration as _ ) ) . await ;
164164
165165 Ok ( ( ) )
166166 }
167167
168168 async fn r#yield ( _: & Jvm , context : & mut RuntimeContext ) -> Result < ( ) > {
169- tracing:: debug!( "Thread::yield()" ) ;
169+ tracing:: debug!( "java.lang. Thread::yield()" ) ;
170170 context. r#yield ( ) . await ;
171171
172172 Ok ( ( ) )
@@ -179,7 +179,7 @@ impl Thread {
179179 }
180180
181181 async fn current_thread ( jvm : & Jvm , _: & mut RuntimeContext ) -> Result < ClassInstanceRef < Self > > {
182- tracing:: warn!( "stub Thread::currentThread()" ) ;
182+ tracing:: warn!( "stub java.lang. Thread::currentThread()" ) ;
183183
184184 let thread = jvm. new_class ( "java/lang/Thread" , "(Z)V" , ( true , ) ) . await ?;
185185
0 commit comments