|
|
@ -171,6 +171,11 @@ public class DebugHelper {
|
|
|
|
"networkaddress.cache.negative.ttl"
|
|
|
|
"networkaddress.cache.negative.ttl"
|
|
|
|
));
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final List<String> SECURITY_PROPS = Collections.unmodifiableList(Arrays.asList(
|
|
|
|
|
|
|
|
"jdk.tls.disabledAlgorithms",
|
|
|
|
|
|
|
|
"jdk.tls.client.protocols"
|
|
|
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
|
|
static boolean isAvailable() {
|
|
|
|
static boolean isAvailable() {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1796,6 +1801,14 @@ public class DebugHelper {
|
|
|
|
size += write(os, prop + "=" + System.getProperty(prop) + "\r\n");
|
|
|
|
size += write(os, prop + "=" + System.getProperty(prop) + "\r\n");
|
|
|
|
size += write(os, "\r\n");
|
|
|
|
size += write(os, "\r\n");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
for (String prop : SECURITY_PROPS)
|
|
|
|
|
|
|
|
size += write(os, prop + "=" + Security.getProperty(prop) + "\r\n");
|
|
|
|
|
|
|
|
size += write(os, "\r\n");
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
size += write(os, String.format("%s\r\n", ex));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ApplicationInfo ai = context.getApplicationInfo();
|
|
|
|
ApplicationInfo ai = context.getApplicationInfo();
|
|
|
|
if (ai != null)
|
|
|
|
if (ai != null)
|
|
|
|
size += write(os, String.format("Source: %s\r\n public: %s\r\n",
|
|
|
|
size += write(os, String.format("Source: %s\r\n public: %s\r\n",
|
|
|
|