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

NotFound doesn't return proper rest_of_name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • j2ee1.0_fcs
    • 1.2.0
    • other-libs
    • None
    • fcs
    • sparc
    • solaris_2.6

      NotFound.rest_of_name always just contains 1 component. It should instead
      contain *all* components that were not resolved.

      Also, when 'why' is 'not_context', rest_of_name contains
      the item that is not a context. Why is that? That component has
      already been resolved. rest_of_name should only contain
      components that have not been resolved. It would be very useful
      for to be able to depend upon the fact that rest_of_name consistently contains
      the portion of the name not found, rather than forcing the caller
      to check 'why'.

      Also, it would also be very useful if NotFound has a 'resolved object' field.
      In throwing the exception, the server must have already have this information.

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            rleesunw Rosanna Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: