GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

False negative: multianewarray may raise IllegalAccessError

Đang mở
#1,655 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug p2
Ngôn ngữ chính
Java
Star
163
Fork
80
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Linkage Checker may miss an invalid reference for multi-dimensional array creation.

Linkage Checker only looks for the class references (Class_info data) in the constant pool of class files. However, JVM operation "multianewarray" creates multi-dimensional array of a class without the class reference. It uses a class reference of array of array of the class.

Example https://gist.github.com/suztomo/d8a4bcadb06ac22393321f9d82f05e6c:

```
#2 = Class #19 // "[[Lfoo/B;"
...

2: multianewarray #2, 2 // class "[[Lfoo/B;"
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.