On Wed, 23 Sep 2020 15:48:46 GMT, Ian Graves <igra...@openjdk.org> wrote:
>> Can we put a base abstract class in jdk.tools.jlink.internal.plugins that >> implements getUsage. That would avoid needing >> to have the same getUsage method in all the plugins. >> The text in the value of some of the .usage keys looks like it will wrap >> significantly, can the values of >> release-info.usage and strip-native-debug-symbols.usage be re-formatted so >> that the usage is readable with a default >> terminal? > > I'll shrink narrow those descriptions down to 80 characters. > > As to the abstract class, I think it'd make sense to have that implement > getUsage, getName, and getDescription -- > essentially combine all of those very similar things in the same place. Updated to consolidate documentation/resource-related methods into an abstract base class and shortened the mentioned usage bodies to 80 chars or less. ------------- PR: https://git.openjdk.java.net/jdk/pull/305