# HG changeset patch # User mikael # Date 1393269883 28800 # Node ID af8145529dd4c86c2fbb4852fdd9a2ca33ebd690 # Parent 1cf3dddf9ff71da5785c2cfe821493a31ad9e192 8035054: JarFacade.c should not include ctype.h Reviewed-by: alanb diff -r 1cf3dddf9ff7 -r af8145529dd4 jdk/src/share/instrument/JarFacade.c --- a/jdk/src/share/instrument/JarFacade.c Tue Feb 25 11:51:25 2014 +0400 +++ b/jdk/src/share/instrument/JarFacade.c Mon Feb 24 11:24:43 2014 -0800 @@ -23,17 +23,8 @@ * questions. */ -#ifdef _WIN32 -/* - * Win* needs this include. However, Linux and Solaris do not. - * Having this include on Solaris SPARC breaks having non US-ASCII - * characters in the value of the Premain-Class attribute. - */ -#include -#endif /* _WIN32 */ #include #include -#include #include "jni.h" #include "manifest_info.h" @@ -59,13 +50,13 @@ size_t value_len; /* skip any leading white space */ - while (isspace(*begin)) { + while (*begin == ' ') { begin++; } /* skip any trailing white space */ end = &begin[strlen(begin)]; - while (end > begin && isspace(end[-1])) { + while (end > begin && end[-1] == ' ') { end--; }