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

j.l.c.ClassDesc::nested(String, String...) doesn't throw NPE if any arg is null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12, 13
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:
      None

      Description

      It does not conform to the spec that states:
      Throws: NullPointerException - if any argument is null
      -----
       ClassDesc cd = ClassDesc.ofDescriptor(ConstantUtils.TClass.class.descriptorString());
       cd.nested("nested", null, null, "extra");
       return Status("Failed");
      ----

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              lkuskov Leonid Kuskov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: