Skip to content

Commit

Permalink
fix forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Sep 14, 2023
1 parent 3f9e395 commit 2a172b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.nio.charset.StandardCharsets;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.ServiceLoader;

Expand Down Expand Up @@ -55,7 +56,7 @@ private ClosableURLClassLoader buildProviderJar(Map<String, CharSequence> source
}

private String defineProvider(String name, int value) {
return String.format("""
return String.format(Locale.ROOT, """
package p;
import org.elasticsearch.plugins.ExtensionLoaderTests.TestService;
public class %s implements TestService {
Expand Down

0 comments on commit 2a172b4

Please sign in to comment.