< prev index next >

src/share/vm/classfile/jimage.hpp

Print this page

        

@@ -92,11 +92,11 @@
  * utf-8, zero byte terminated.
  *
  * 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);
 
 typedef const char* (*JImagePackageToModule_t)(JImageFile* jimage, const char* package_name);

@@ -123,11 +123,11 @@
         const char* module_name, const char* version, const char* name,
         jlong* size);
 
 
 /*
- * 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.
  * If the size is greater than the resource size then the remainder of the buffer
  * is zero filled.  The function will return the actual size of the resource.

@@ -153,11 +153,11 @@
  * value of the visitor function should be true, unless an early iteration exit is
  * required. All strings are utf-8, zero byte terminated.file.
  *
  * 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);
  *       ClassLoader::compile_the_world_in(path, (Handle)arg, THREAD);
  *       return !HAS_PENDING_EXCEPTION;
< prev index next >