Created
December 10, 2020 09:19
-
-
Save shihua-guo/86fa6c1a075568e7860ac2202bb1ea31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author guoshihua | |
* @description | |
* @date 2020/12/10 16:27 | |
*/ | |
public abstract class Test { | |
abstract <T> void f(T t); | |
abstract <T, X extends Throwable> T g(X x) throws X; | |
void bug() { | |
f(g(new RuntimeException("foo"))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你可以通过javac 编译上面的文件。查看不同jdk之间的差异