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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • 12, 13
    • core-libs
    • None

      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");
      ----

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

              Created:
              Updated:
              Resolved: