namecollision.java
来自「是一款用JAVA 编写的编译器 具有很强的编译功能」· Java 代码 · 共 15 行
JAVA
15 行
/** * @test /nodynamiccopyright/ * @bug 4222327 4785453 * @summary Interface names for classes in the same scope should not * cause the compiler to crash. * * @run shell NameCollision.sh */// The test fails if the compiler crashes.public class NameCollision { class Runnable implements Runnable { } // ERROR}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?