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

Missing class interface definition results misleading error message

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2alpha2
    • CPU:
      generic, x86
    • OS:
      generic, windows_95
    • Verification:
      Not verified

      Description

      > 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.



        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: