Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4371331

Cannot get a Class Object for DragSource using Class.forname()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • generic
    • generic

      This started happening on Merlin beta-b31. Executing the following code causes the program to hang:

      ----------------------------------------------------------

      import java.awt.dnd.*;

      public class SimpleTest {

          public static void main(String[] args) {
              new SimpleTest();
          }

          public SimpleTest() {
              Class target = null;

              try {
                  target = Class.forName("java.awt.dnd.DragSource");
              } catch(Exception e) {
                  e.printStackTrace();
              }
          }
      }


      ----------------------------------------------------------

      edmund.lou@eng 2000-09-14
      Swing SQE

            dmendenhsunw David Mendenhall (Inactive)
            elousunw Edmund Lou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: