RFR: 8217877: Dead code in jdk.jlink's TaskHelper

Severin Gehwolf sgehwolf at redhat.com
Mon Jan 28 15:00:36 UTC 2019


Hi,

There seems to be dead code in class TaskHelper. Plugins are loaded via
ServiceLoader from the module boot loader. I don't see how this code
could ever be reached. The proposal is to remove it for clarity.

Bug: https://bugs.openjdk.java.net/browse/JDK-8217877
webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8217877/webrev.01/

Testing: jdk/submit + test/jdk/tools/jlink and test/jdk/jdk/modules
tests on Linux x86_64

Thoughts?

Thanks,
Severin



More information about the jigsaw-dev mailing list