Redian新闻
>
Answer 2 to "Is this a Bug or not? "
avatar
Answer 2 to "Is this a Bug or not? "# Java - 爪哇娇娃
m*a
1
I tried to find it from JVM Spec. However, it doesn't mention enough
to answer this. (We all know that the reason for B$1$C.class, right?)
I tried to compile some of the inner class code with JDK1.1, and I did not
get this B$1.class, only the B$1$C.class.
The best answer I can get is, there is not enough documentation. And it
is a compiler-specific issue. Anyway JDK1.2 is just one implementation
of JVM, as long as other JVM can run the class file, I don't care if it
produces one more class file
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。