src/hotspot/share/classfile/classLoader.hpp
changeset 54257 21702e87efdf
parent 53884 1a7b57d02107
child 54340 2221f042556d
--- a/src/hotspot/share/classfile/classLoader.hpp	Sat Mar 23 17:18:49 2019 +0100
+++ b/src/hotspot/share/classfile/classLoader.hpp	Sat Mar 23 21:51:07 2019 -0700
@@ -114,6 +114,7 @@
 private:
   JImageFile* _jimage;
   const char* _name;
+  DEBUG_ONLY(static ClassPathImageEntry* _singleton;)
 public:
   bool is_modules_image() const;
   bool is_jar_file() const { return false; }
@@ -439,8 +440,6 @@
   // distinguish from a class_name with no package name, as both cases have a NULL return value
   static const char* package_from_name(const char* const class_name, bool* bad_class_name = NULL);
 
-  static bool is_modules_image(const char* name) { return string_ends_with(name, MODULES_IMAGE_NAME); }
-
   // Debugging
   static void verify()              PRODUCT_RETURN;
 };