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

Missing class interface definition results misleading error message

XMLWordPrintable

    • 1.2alpha2
    • generic, x86
    • generic, windows_95
    • Not verified

      > class x implements y
      >
      > compile both, then remove y.class and run "java x"
      >
      > get message "Can't find class x"

      Even with -v -debug there is no indication that it is failing because
      it was unable to find y.class. The exception condition is being set
      down in Locked_ResolveClassConstant() (eventually called from
      ResolveInterfaces()). However since we are still in the initialization
      portion of the VM startup, we never return to any code that would attempt
      to catch the exception - we return the java_main() in javai.c, print the
      can't find class msg and quit.



            sliangsunw Sheng Liang (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: