MCPcopy
hub / github.com/bazelbuild/bazel / main

Method main

src/CheckSunJnuEncoding.java:17–23  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

15/** Verify that sun.jnu.encoding is UTF-8. */
16public class CheckSunJnuEncoding {
17 public static void main(String[] args) {
18 String sunJnuEncoding = System.getProperty("sun.jnu.encoding");
19 if (!"UTF-8".equals(sunJnuEncoding)) {
20 System.err.println("ERROR: sun.jnu.encoding is not UTF-8: " + sunJnuEncoding);
21 System.exit(1);
22 }
23 }
24}

Callers

nothing calls this directly

Calls 2

printlnMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected