aliyun / aliyun/alibabacloud-java-async-sdk
GWS Async API caused warning in JDK 11
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 34
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
Use
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>alibabacloud-gws20190618</artifactId>
<version>1.0.0</version>
</dependency>
to call api would cause the following warnings in JDK 11 (maybe related to all versions above 8)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hc.core5.util.ReflectionUtils$1 (file:/Users/***/.m2/repository/org/apache/httpcomponents/core5/httpcore5/5.1.3/httpcore5-5.1.3.jar) to method sun.security.ssl.SSLEngineImpl.getApplicationProtocol()
WARNING: Please consider reporting this to the maintainers of org.apache.hc.core5.util.ReflectionUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the warning using the listed alibabacloud-gws20190618 dependency on JDK 11, then inspect the Apache httpcore5 ReflectionUtils access shown in the warning. Determine whether the SDK or its dependency chain is responsible; done should mean the warning is resolved or the supported JDK behavior and workaround are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100