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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: