src/share/vm/classfile/classLoader.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_full Sdiff src/share/vm/classfile

src/share/vm/classfile/classLoader.cpp

Print this page
rev 2694 : imported patch headers_only


  51 #include "runtime/init.hpp"
  52 #include "runtime/interfaceSupport.hpp"
  53 #include "runtime/java.hpp"
  54 #include "runtime/javaCalls.hpp"
  55 #include "runtime/threadCritical.hpp"
  56 #include "runtime/timer.hpp"
  57 #include "services/management.hpp"
  58 #include "services/threadService.hpp"
  59 #include "utilities/events.hpp"
  60 #include "utilities/hashtable.hpp"
  61 #include "utilities/hashtable.inline.hpp"
  62 #ifdef TARGET_OS_FAMILY_linux
  63 # include "os_linux.inline.hpp"
  64 #endif
  65 #ifdef TARGET_OS_FAMILY_solaris
  66 # include "os_solaris.inline.hpp"
  67 #endif
  68 #ifdef TARGET_OS_FAMILY_windows
  69 # include "os_windows.inline.hpp"
  70 #endif



  71 
  72 
  73 // Entry points in zip.dll for loading zip/jar file entries
  74 
  75 typedef void * * (JNICALL *ZipOpen_t)(const char *name, char **pmsg);
  76 typedef void (JNICALL *ZipClose_t)(jzfile *zip);
  77 typedef jzentry* (JNICALL *FindEntry_t)(jzfile *zip, const char *name, jint *sizeP, jint *nameLen);
  78 typedef jboolean (JNICALL *ReadEntry_t)(jzfile *zip, jzentry *entry, unsigned char *buf, char *namebuf);
  79 typedef jboolean (JNICALL *ReadMappedEntry_t)(jzfile *zip, jzentry *entry, unsigned char **buf, char *namebuf);
  80 typedef jzentry* (JNICALL *GetNextEntry_t)(jzfile *zip, jint n);
  81 
  82 static ZipOpen_t         ZipOpen            = NULL;
  83 static ZipClose_t        ZipClose           = NULL;
  84 static FindEntry_t       FindEntry          = NULL;
  85 static ReadEntry_t       ReadEntry          = NULL;
  86 static ReadMappedEntry_t ReadMappedEntry    = NULL;
  87 static GetNextEntry_t    GetNextEntry       = NULL;
  88 static canonicalize_fn_t CanonicalizeEntry  = NULL;
  89 
  90 // Globals




  51 #include "runtime/init.hpp"
  52 #include "runtime/interfaceSupport.hpp"
  53 #include "runtime/java.hpp"
  54 #include "runtime/javaCalls.hpp"
  55 #include "runtime/threadCritical.hpp"
  56 #include "runtime/timer.hpp"
  57 #include "services/management.hpp"
  58 #include "services/threadService.hpp"
  59 #include "utilities/events.hpp"
  60 #include "utilities/hashtable.hpp"
  61 #include "utilities/hashtable.inline.hpp"
  62 #ifdef TARGET_OS_FAMILY_linux
  63 # include "os_linux.inline.hpp"
  64 #endif
  65 #ifdef TARGET_OS_FAMILY_solaris
  66 # include "os_solaris.inline.hpp"
  67 #endif
  68 #ifdef TARGET_OS_FAMILY_windows
  69 # include "os_windows.inline.hpp"
  70 #endif
  71 #ifdef TARGET_OS_FAMILY_bsd
  72 # include "os_bsd.inline.hpp"
  73 #endif
  74 
  75 
  76 // Entry points in zip.dll for loading zip/jar file entries
  77 
  78 typedef void * * (JNICALL *ZipOpen_t)(const char *name, char **pmsg);
  79 typedef void (JNICALL *ZipClose_t)(jzfile *zip);
  80 typedef jzentry* (JNICALL *FindEntry_t)(jzfile *zip, const char *name, jint *sizeP, jint *nameLen);
  81 typedef jboolean (JNICALL *ReadEntry_t)(jzfile *zip, jzentry *entry, unsigned char *buf, char *namebuf);
  82 typedef jboolean (JNICALL *ReadMappedEntry_t)(jzfile *zip, jzentry *entry, unsigned char **buf, char *namebuf);
  83 typedef jzentry* (JNICALL *GetNextEntry_t)(jzfile *zip, jint n);
  84 
  85 static ZipOpen_t         ZipOpen            = NULL;
  86 static ZipClose_t        ZipClose           = NULL;
  87 static FindEntry_t       FindEntry          = NULL;
  88 static ReadEntry_t       ReadEntry          = NULL;
  89 static ReadMappedEntry_t ReadMappedEntry    = NULL;
  90 static GetNextEntry_t    GetNextEntry       = NULL;
  91 static canonicalize_fn_t CanonicalizeEntry  = NULL;
  92 
  93 // Globals


src/share/vm/classfile/classLoader.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File