为什么将基本类型的一维数组作为参数传入Arrays.asList方法时,反编译class文件会看到传入了一个二维数组? #875
Labels
Comments
|
额,看了一下该方法。该方法需要的是对象数组,传入基本类型数组的时候会变为数组对象。如有纰缪请多多指教。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在看完了这篇之后,我也去试了一下相同的代码,反编译后的结果如下:

请问是否有相关资料来说明这么编译的原因吗?
The text was updated successfully, but these errors were encountered: