Nicola Isotta created HTTPCLIENT-2413:
-----------------------------------------

             Summary: java.lang.NoSuchFieldError: 
jdk/net/ExtendedSocketOptions.TCP_KEEPIDLE
                 Key: HTTPCLIENT-2413
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2413
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient (classic)
    Affects Versions: 5.6, 5.5.2
         Environment: java version "1.8.0_371"                                  
                                                          
Java(TM) SE Runtime Environment (build 8.0.8.5 - pap6480sr8fp5-20230418_01(SR8 
FP5))                                
IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc64-64-Bit Compressed References 
20230417_49632 (JIT enabled, AOT enabled) 
OpenJ9   - 085a542                                                              
                                    
OMR      - 9f28c98                                                              
                                    
IBM      - 68444b7)                                                             
                                    
JCL - 20230329_01 based on Oracle jdk8u371-b11                                  
                                    
            Reporter: Nicola Isotta


Got this error while trying to upgrade HttpClient from 5.5.1 to 5.5.2 (I tried 
5.6 as well).
The JVM is a IBM J9 on an IBM i system.

{{Exception in thread "main" java.lang.NoSuchFieldError: 
jdk/net/ExtendedSocketOptions.TCP_KEEPIDLE                                }}
{{        at 
org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.<clinit>(DefaultHttpClientConnectionOperator.ja}}
{{va:87)                                                                        
                                                   }}
{{        at 
org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder.createConnectionOperator(PoolingHttpClien}}
{{tConnectionManagerBuilder.java:325)                                           
                                                   }}
{{        at 
org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder.build(PoolingHttpClientConnectionManagerB}}
{{uilder.java:344)                                                              
                                                   }}
{{        at 
org.apache.hc.client5.http.impl.classic.HttpClientBuilder.build(HttpClientBuilder.java:862)
                           }}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to