@@ -78,40 +78,40 @@ void loadModuleConfiguration() {
7878 });
7979 }
8080
81- /**
82- * Loads the class with the specified binary name.
83- */
84- @ Override
85- protected Class <?> loadClass (String cn , boolean resolve ) throws ClassNotFoundException
86- {
87-
88- synchronized (getClassLoadingLock (cn )) {
89- // check if already loaded
90- Class <?> c = findLoadedClass (cn );
91-
92- if (c == null ) {
93-
94- LoadedModule loadedModule = findLoadedModule (cn );
95-
96- if (loadedModule != null ) {
97-
98- // class is in module defined to this class loader
99- c = defineClass (cn , loadedModule );
100-
101- } else {
102- return getParent ().loadClass (cn );
103- }
104- }
105-
106- if (c == null )
107- throw new ClassNotFoundException (cn );
108-
109- if (resolve )
110- resolveClass (c );
111-
112- return c ;
113- }
114- }
81+ // /**
82+ // * Loads the class with the specified binary name.
83+ // */
84+ // @Override
85+ // protected Class<?> loadClass(String cn, boolean resolve) throws ClassNotFoundException
86+ // {
87+ //
88+ // synchronized (getClassLoadingLock(cn)) {
89+ // // check if already loaded
90+ // Class<?> c = findLoadedClass(cn);
91+ //
92+ // if (c == null) {
93+ //
94+ // LoadedModule loadedModule = findLoadedModule(cn);
95+ //
96+ // if (loadedModule != null) {
97+ //
98+ // // class is in module defined to this class loader
99+ // c = defineClass(cn, loadedModule);
100+ //
101+ // } else {
102+ // return getParent().loadClass(cn);
103+ // }
104+ // }
105+ //
106+ // if (c == null)
107+ // throw new ClassNotFoundException(cn);
108+ //
109+ // if (resolve)
110+ // resolveClass(c);
111+ //
112+ // return c;
113+ // }
114+ // }
115115
116116 @ Override
117117 protected URL findResource (String moduleName , String name ) throws IOException {
0 commit comments