On Tue, 19 Nov 2024 17:37:16 GMT, Phil Race <[email protected]> wrote:

>> Remove doPrivileged calls from javax.imageio, javax.print and some sound 
>> impl classes
>
> Phil Race has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8344064

src/java.desktop/share/classes/javax/print/StreamPrintServiceFactory.java line 
200:

> 198:               ArrayList<StreamPrintServiceFactory> lof = 
> getListOfFactories();
> 199:               while (iterator.hasNext()) {
> 200:                   lof.add(iterator.next());

`lof` is set with data here but never used. Was it used only to check for 
`ServiceConfigurationError` exception? or am I missing something?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22186#discussion_r1849522133

Reply via email to