8212703: Remove sun.java2d.fontpath property from java launcher code

Reviewed-by: alanb, rriggs
This commit is contained in:
Phil Race 2018-12-10 12:33:23 -08:00
parent a5ed4e3e73
commit 8895605e66
6 changed files with 92 additions and 14 deletions

View file

@ -379,11 +379,6 @@ GetJavaProperties(JNIEnv* env)
/* Java2D properties */
sprops.graphics_env = "sun.awt.Win32GraphicsEnvironment";
{ /* This is used only for debugging of font problems. */
WCHAR *path = _wgetenv(L"JAVA2D_FONTPATH");
sprops.font_dir = (path != NULL) ? _wcsdup(path) : NULL;
}
/* OS properties */
{
char buf[100];