You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/07/29 17:43:35 UTC

[GitHub] [skywalking] liudantop opened a new issue #5197: incompatible code jdk14 in okhttp3 plugin

liudantop opened a new issue #5197:
URL: https://github.com/apache/skywalking/issues/5197


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ 1 ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
    Field headersField = Request.class.getDeclaredField("headers");
    Field modifiersField = Field.class.getDeclaredField("modifiers");
    modifiersField.setAccessible(true);
    modifiersField.setInt(headersField, headersField.getModifiers() & ~Modifier.FINAL);
   
   
   
   - Which company or project?
   
   - What happen?
   If possible, provide a way for reproducing the error. e.g. demo application, component version.
   
   [ERROR][InstMethodsInter]class[class okhttp3.RealCall] before method[execute] intercept failure
   java.lang.NoSuchFieldException: modifiers
           at java.base/java.lang.Class.getDeclaredField(Class.java:2489)
   
   ___
   ### Requirement or improvement
   - Please describe about your requirements or improvement suggestions.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5197:
URL: https://github.com/apache/skywalking/issues/5197#issuecomment-665531225


   What do you mean? Is this because some JDK API renaming? Please provide the details more clearly.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5197:
URL: https://github.com/apache/skywalking/issues/5197#issuecomment-676412677


   @dmsolr This is something related to JDK14, once you have JDK14 env for testing, please let @ascrutae know.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] kezhenxu94 closed issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #5197:
URL: https://github.com/apache/skywalking/issues/5197


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5197:
URL: https://github.com/apache/skywalking/issues/5197#issuecomment-668040971


   No update in 5 days.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] dmsolr commented on issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
dmsolr commented on issue #5197:
URL: https://github.com/apache/skywalking/issues/5197#issuecomment-679525421


   Hi @acurtain JDK 14 testing environment has been introduced by #5257 .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5197:
URL: https://github.com/apache/skywalking/issues/5197#issuecomment-666271614


   The plugin looks like a very hijack way to support this library. Maybe you could try to find a new way? These codes are about injecting the trace context, which must be in the HTTP headers.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #5197: incompatible code with jdk14 in okhttp3 plugin

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5197:
URL: https://github.com/apache/skywalking/issues/5197


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org