8170431: non-ASCII characters in source code comments (jimage.hpp)
authordbuck
Tue, 29 Nov 2016 06:20:56 +0000
changeset 42609 601fb6316b0c
parent 42608 14af45789042
child 42611 0de1eb277c95
8170431: non-ASCII characters in source code comments (jimage.hpp) Reviewed-by: dholmes
hotspot/src/share/vm/classfile/jimage.hpp
--- a/hotspot/src/share/vm/classfile/jimage.hpp	Sun Nov 27 19:58:30 2016 -0800
+++ b/hotspot/src/share/vm/classfile/jimage.hpp	Tue Nov 29 06:20:56 2016 +0000
@@ -94,7 +94,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);
@@ -126,7 +126,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.
@@ -158,7 +158,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);