GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Java 15 hidden classes

未關閉
#1,694 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
p2 question
主要語言
Java
星號
163
分支
80
PR 合併指標
30 天內沒有已合併 PR

描述

"JEP 371 introduces hidden classes in Java 15. Hidden classes have the following implications to existing code:

`Class::getName` traditionally returns a binary name, but for a hidden class it returns a string that contains an ASCII forward slash (/) and is therefore not a binary name. Programs that assume the returned string is a binary name might need to be updated to handle hidden classes. That said, the longstanding practice of Unsafe::defineAnonymousClass was to define classes whose names were not binary names, so some programs may already handle such names successfully."

Do we need to do anything to handle this?

貢獻指南

開啟貢獻指南

研究方向

Start by reviewing JEP 371 and locating the repository's handling of Java class names and linkage checks. Determine whether hidden classes require a code change or regression tests, and document the outcome with tests covering any affected behavior.

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

評估

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

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

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