8161937: non-ASCII characters in source code comments
authornaoto
Thu, 21 Jul 2016 09:21:48 -0700
changeset 39763 9e6a5512442b
parent 39762 935ffb4260ba
child 39764 4c2a4f338444
8161937: non-ASCII characters in source code comments Reviewed-by: alanb
jdk/src/java.base/share/native/libjimage/jimage.cpp
--- a/jdk/src/java.base/share/native/libjimage/jimage.cpp	Thu Jul 21 10:34:59 2016 -0300
+++ b/jdk/src/java.base/share/native/libjimage/jimage.cpp	Thu Jul 21 09:21:48 2016 -0700
@@ -85,7 +85,7 @@
  * Ex.
  *  const char* package = (*JImagePackageToModule)(image, "java/lang");
  *  tty->print_cr(package);
- *  —> java.base
+ *  -> java.base
  */
 extern "C" const char* JIMAGE_PackageToModule(JImageFile* image, const char* package_name) {
     return ((ImageFileReader*) image)->get_image_module_data()->package_to_module(package_name);
@@ -137,7 +137,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.
@@ -168,7 +168,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);