Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1534

Seal XmlCodec interface to deal with XmlCodecFactory warnings

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 11.0.1, 9.0.9, 10.0.10
    • codecs
    • None

    Description

      XmlCodec is leaked from XmlCodecFactory, which is a public class. Prior to Java 15 we have had no way of restricting valid implementations, hence we kept the interface as package-internal. This leads to JPMS warnings about XmlCodec not being visible to clients.

      With Java 17 we can happily expose the interface and still ensure there are no surprises.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: