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

    • Bug
    • Resolution: Fixed
    • P3
    • 13
    • 12, 13
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: