File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java_runtime/src/classes/java/lang Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use java_class_proto::{JavaFieldProto, JavaMethodProto};
77use java_constants:: MethodAccessFlags ;
88use jvm:: { Array , ClassInstanceRef , Jvm , Result } ;
99
10- use crate :: { classes:: java:: lang:: Runnable , RuntimeClassProto , RuntimeContext , SpawnCallback } ;
10+ use crate :: { RuntimeClassProto , RuntimeContext , SpawnCallback , classes:: java:: lang:: Runnable } ;
1111
1212// class java.lang.Thread
1313pub struct Thread ;
@@ -89,7 +89,7 @@ impl Thread {
8989
9090 #[ async_trait:: async_trait]
9191 impl SpawnCallback for ThreadStartProxy {
92- #[ tracing:: instrument( name = "thread" , fields( thread = self . thread_id) , skip_all) ]
92+ #[ tracing:: instrument( name = "java thread" , fields( id = self . thread_id) , skip_all) ]
9393 async fn call ( & self ) -> Result < ( ) > {
9494 tracing:: trace!( "Thread start" ) ;
9595
You can’t perform that action at this time.
0 commit comments