8214014: Remove vestiges of gopher: protocol proxy support

Reviewed-by: lancea, alanb
This commit is contained in:
Roger Riggs 2018-11-28 16:04:36 -05:00
parent c1034b1cad
commit 48d68d182a
12 changed files with 10 additions and 64 deletions

View file

@ -184,15 +184,6 @@ Java_jdk_internal_util_SystemProps_00024Raw_platformProperties(JNIEnv *env, jcla
PUTPROP(propArray, _socksProxyPort_NDX, sprops->socksPort);
}
if (sprops->gopherProxyEnabled) {
// The gopher client is different in that it expects an 'is this set?' flag that the others don't.
PUTPROP(propArray, _gopherProxySet_NDX, "true");
PUTPROP(propArray, _gopherProxyHost_NDX, sprops->gopherHost);
PUTPROP(propArray, _gopherProxyPort_NDX, sprops->gopherPort);
} else {
PUTPROP(propArray, _gopherProxySet_NDX, "false");
}
// Mac OS X only has a single proxy exception list which applies
// to all protocols
if (sprops->exceptionList) {

View file

@ -106,10 +106,6 @@ typedef struct {
char *socksHost;
char *socksPort;
int gopherProxyEnabled;
char *gopherHost;
char *gopherPort;
char *exceptionList;
char *awt_headless; /* java.awt.headless setting, if NULL (default) will not be set */