OpenJDK / jdk9 / jdk9 / jdk
changeset 15146:cfa705d1f4e2
8162343: non-ASCII characters in source code comments (.hpp)
Reviewed-by: rriggs
author | naoto |
---|---|
date | Tue, 26 Jul 2016 10:53:20 -0700 |
parents | 47699aa2e69e |
children | 4e3c848582d8 |
files | src/java.base/share/native/libjimage/imageDecompressor.hpp src/java.base/share/native/libjimage/jimage.hpp |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/native/libjimage/imageDecompressor.hpp Tue Jul 26 10:06:19 2016 -0700 +++ b/src/java.base/share/native/libjimage/imageDecompressor.hpp Tue Jul 26 10:53:20 2016 -0700 @@ -74,8 +74,8 @@ * meaning that the resource is equivalent to the not compressed resource. * In each iteration, the name of the compressor located in the current header * is used to retrieve the associated instance of ImageDecompressor. - * For example “zip” is the name of the compressor that compresses resources - * using the zip algorithm. The ZipDecompressor class name is also “zip”. + * For example "zip" is the name of the compressor that compresses resources + * using the zip algorithm. The ZipDecompressor class name is also "zip". * ImageDecompressor instances are retrieved from a static array in which * they are registered. */
--- a/src/java.base/share/native/libjimage/jimage.hpp Tue Jul 26 10:06:19 2016 -0700 +++ b/src/java.base/share/native/libjimage/jimage.hpp Tue Jul 26 10:53:20 2016 -0700 @@ -101,7 +101,7 @@ * Ex. * const char* package = (*JImagePackageToModule)(image, "java/lang"); * tty->print_cr(package); - * —> java.base + * -> java.base */ extern "C" const char * JIMAGE_PackageToModule(JImageFile* jimage, const char* package_name); @@ -133,7 +133,7 @@ /* - * JImageGetResource - Given an open image file (see JImageOpen), a resource’s + * JImageGetResource - Given an open image file (see JImageOpen), a resource's * location information (see JImageFindResource), a buffer of appropriate * size and the size, retrieve the bytes associated with the * resource. If the size is less than the resource size then the read is truncated. @@ -165,7 +165,7 @@ * Ex. * bool ctw_visitor(JImageFile* jimage, const char* module_name, const char* version, * const char* package, const char* name, const char* extension, void* arg) { - * if (strcmp(extension, “class”) == 0) { + * if (strcmp(extension, "class") == 0) { * char path[JIMAGE_MAX_PATH]; * Thread* THREAD = Thread::current(); * jio_snprintf(path, JIMAGE_MAX_PATH - 1, "/%s/%s", package, name);