8162343: non-ASCII characters in source code comments (.hpp)
authornaoto
Tue, 26 Jul 2016 10:53:20 -0700
changeset 39824 629cd556bb2e
parent 39814 e8373543a3f0
child 39825 6441823cea46
8162343: non-ASCII characters in source code comments (.hpp) Reviewed-by: rriggs
jdk/src/java.base/share/native/libjimage/imageDecompressor.hpp
jdk/src/java.base/share/native/libjimage/jimage.hpp
--- a/jdk/src/java.base/share/native/libjimage/imageDecompressor.hpp	Wed Jul 05 22:00:06 2017 +0200
+++ b/jdk/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/jdk/src/java.base/share/native/libjimage/jimage.hpp	Wed Jul 05 22:00:06 2017 +0200
+++ b/jdk/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);