File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed 
testing-common/src/main/java/io/opentelemetry/instrumentation/testing Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 4545 */ 
4646public  abstract  class  InstrumentationTestRunner  {
4747
48-   static  {
49-     // In netty-4.1.121.Final unsafe usage is disabled by default on jdk24. This triggers using 
50-     // a different pooled buffer implementation which apparently breaks when initializing ssl. Here 
51-     // we switch to unpooled buffers to avoid that bug. We do this here because this code is 
52-     // executed early for both agent and library tests. 
53-     if  (Double .parseDouble (System .getProperty ("java.specification.version" )) >= 24 ) {
54-       System .setProperty ("io.opentelemetry.testing.internal.io.netty.allocator.type" , "unpooled" );
55-     }
56-   }
57- 
5848  private  final  TestInstrumenters  testInstrumenters ;
5949  protected  Map <String , MetricData > metrics  = new  HashMap <>();
6050
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments