- 
    Enhancement 
- 
    Resolution: Duplicate
- 
     P3 P3
- 
    None
                    Serguei has verified that the patch for JDK-8212117 has resolved JDK-8181144.
New tests should be added to verify JVM TI and JDI behavior w.r.t. Class.forName("Foo", false, loader) returning a class that is linked. For example:
1. JVM TI GetLoadedClasses should include "Foo" with and without the fix.
2. JVM TI GetClassStatus returns CLASS_PREPARE on "Foo" with the fix. ClassPrepare event is also generated.
3. JDK VirtualMachine::allClasses includes "Foo" with the fix.
4. ReferenceType::isPrepared return true on "Foo" class with the fix.
New tests should be added to verify JVM TI and JDI behavior w.r.t. Class.forName("Foo", false, loader) returning a class that is linked. For example:
1. JVM TI GetLoadedClasses should include "Foo" with and without the fix.
2. JVM TI GetClassStatus returns CLASS_PREPARE on "Foo" with the fix. ClassPrepare event is also generated.
3. JDK VirtualMachine::allClasses includes "Foo" with the fix.
4. ReferenceType::isPrepared return true on "Foo" class with the fix.
- duplicates
- 
                    JDK-8181144 JDI - VirtualMachine.allClasses() does not return loaded but uninitialized class -           
- Closed
 
-         
- is blocked by
- 
                    JDK-8212117 Class.forName may return a reference to a loaded but not linked Class -           
- Resolved
 
-         
- relates to
- 
                    JDK-8212117 Class.forName may return a reference to a loaded but not linked Class -           
- Resolved
 
-         
- 
                    JDK-8233091 Backout JDK-8212117: Class.forName loads a class but not linked if class is not initialized -           
- Resolved
 
-