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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • xml
    • 9
    • b112

      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:/../../.."

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

              Created:
              Updated:
              Resolved: