aws / aws/aws-lambda-java-libs

WARNING: An illegal reflective access operation has occurred

未關閉
#226 1 則留言 8 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
548
分支
241
平均合併
2 天 5 分鐘
30 天內合併 PR
11

描述

My code seems to be working however I am seeing this error in the logs:
```
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.amazonaws.services.lambda.runtime.serialization.factories.JacksonFactory$VoidDeserializer (file:/home/niqo/.gradle/caches/modules-2/files-2.1/com.amazonaws/aws-lambda-java-serialization/1.0.0/7501d239ebfe3978713054a4466d6eb020e7da14/aws-lambda-java-serialization-1.0.0.jar) to constructor java.lang.Void()
WARNING: Please consider reporting this to the maintainers of com.amazonaws.services.lambda.runtime.serialization.factories.JacksonFactory$VoidDeserializer
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
```

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the warning involving aws-lambda-java-serialization-1.0.0.jar and JacksonFactory$VoidDeserializer, using the log output in the issue. Trace the reflective access to java.lang.Void() and verify that the completed change no longer emits the illegal-access warning on the supported Java runtime.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
aws, java
領域
backend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。