Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用jdk1.8.0_101,不同的类加载器实例加载的类转换不会报错 #2

Open
www1350 opened this issue Jan 18, 2017 · 0 comments

Comments

@www1350
Copy link

www1350 commented Jan 18, 2017

https://github.com/silence940109/Java/tree/master/Java_ClassLoader
代码清单 4
使用jdk1.7就会抛出java.lang.reflect.InvocationTargetException 而jdk1.8就不会这是为什么?

@www1350 www1350 changed the title 使用java1.8.0_101,不同的类加载器实例加载的类转换不会报错 使用jdk1.8.0_101,不同的类加载器实例加载的类转换不会报错 Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant