We have hardcoded Unix-style newlines in PluginInfo.toString. We should use `System.lineSeparator()` instead.
server/src/main/java/org/elasticsearch/plugins/PluginInfo.java
public boolean isLicensed() {
        return isLicensed;
    }
    @Override
    public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
        builder.startObject();
        {
            builder.field("name", name);
            builder.field("version", version);
            builder.field("elasticsearch_version", elasticsearchVersion);
            builder.field("java_version", javaVersion);
            builder.field("description", description);
            builder.field("classname", classname);
            builder.field("extended_plugins", extendedPlugins);
            builder.field("has_native_controller", hasNativeController);
            builder.field("licensed", isLicensed);
            builder.field("type", type);
            if (type == PluginType.BOOTSTRAP) {
                builder.field("java_opts", javaOpts);
            }
        }
        builder.endObject();
        return builder;
    }
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PluginInfo that = (PluginInfo) o;
        if (name.equals(that.name) == false) return false;