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

sun.net.idn is dependent on files under sun.text.normalizer beyond the scope of the assumption.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • core-libs
    • None
    • generic
    • generic

      Results of grep at sun/net/idn :
        Punycode.java:import sun.text.normalizer.UCharacter;
        Punycode.java:import sun.text.normalizer.UTF16;
        StringPrep.java:import sun.text.normalizer.CharTrie;
        StringPrep.java:import sun.text.normalizer.Trie;
        StringPrep.java:import sun.text.normalizer.NormalizerImpl;
        StringPrep.java:import sun.text.normalizer.VersionInfo;
        StringPrep.java:import sun.text.normalizer.UCharacter;
        StringPrep.java:import sun.text.normalizer.UCharacterIterator;
        StringPrep.java:import sun.text.normalizer.UTF16;
        StringPrepDataReader.java:import sun.text.normalizer.ICUBinary;




      And,
          "Normalizer.UNICODE_3_2|NormalizerImpl.BEFORE_PRI_29));"
      should be modified to
          "Normalizer.UNICODE_3_2));"

      Because Normalizer.UNICODE_3_2 is defined as
                                     NormalizerBase.UNICODE_3_2 |
                                     NormalizerImpl.WITHOUT_CORRIGENDUM4_CORRECTIONS |
                                     NormalizerImpl.BEFORE_PRI_29;
      "|NormalizerImpl.BEFORE_PRI_29" is not necessary.

            naoto Naoto Sato
            peytoia Yuka Kamiya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: