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

IllegalArgumentException not thrown when wrong syntax value is set for javax.xml.catalog.files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b112

      Description

      The following code
      CatalogFeatures features = CatalogFeatures.builder()
                      .with(CatalogFeatures.Feature.FILES, files)
                      .build();
      is expected to throw IllegalArgumentException for bad syntax values for files. The bad syntax includes null, "file:a/b\c", "", "file:/../../.."

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              pchinnasamy Prabushankar Chinnasamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: