Re: 8243596: ModuleLayer::parents should return an unmodifiable list

2020-05-05 Thread Mandy Chung
On 5/5/20 12:05 PM, Alan Bateman wrote: This is an small oversight and inconsistency that crept in when the ModuleLayer was updated to support multiple parents. The list of parent layers returned by the parents() method should be specified (and implemented) to return an unmodifiable list. It

8243596: ModuleLayer::parents should return an unmodifiable list

2020-05-05 Thread Alan Bateman
This is an small oversight and inconsistency that crept in when the ModuleLayer was updated to support multiple parents. The list of parent layers returned by the parents() method should be specified (and implemented) to return an unmodifiable list. It currently returns a modifiable list.