< prev index next >

src/hotspot/share/classfile/classLoader.cpp

Print this page

        

@@ -206,11 +206,11 @@
 
     // Fully qualified class names should not contain a 'L'.
     // Set bad_class_name to true to indicate that the package name
     // could not be obtained due to an error condition.
     // In this situation, is_same_class_package returns false.
-    if (*class_name_ptr == 'L') {
+    if (*class_name_ptr == 'L' || *class_name_ptr == 'Q') {
       if (bad_class_name != NULL) {
         *bad_class_name = true;
       }
       return NULL;
     }
< prev index next >