diff --git a/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/ClassFileLocator.java b/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/ClassFileLocator.java
index <HASH>..<HASH> 100644
--- a/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/ClassFileLocator.java
+++ b/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/ClassFileLocator.java
@@ -320,15 +320,10 @@ public interface ClassFileLocator extends Closeable {
          */
         public static Resolution read(Class<?> type) {
             try {
-                JavaModule module = JavaModule.ofType(type);
-                if (module != null && module.isNamed()) {
-                    return ForModule.locate(module, TypeDescription.ForLoadedType.getName(type));
-                } else {
-                    ClassLoader classLoader = type.getClassLoader();
-                    return locate(classLoader == null
-                            ? ClassLoader.getSystemClassLoader()
-                            : classLoader, TypeDescription.ForLoadedType.getName(type));
-                }
+                ClassLoader classLoader = type.getClassLoader();
+                return locate(classLoader == null
+                        ? ClassLoader.getSystemClassLoader()
+                        : classLoader, TypeDescription.ForLoadedType.getName(type));
             } catch (IOException exception) {
                 throw new IllegalStateException("Cannot read class file for " + type, exception);
             }
Removed another module-based class file lookup.