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

Remove dead code in com.sun.java.accessibility.util.Translator.getTranslatorClass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6, 8, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:

      Description

      In the process of checking usage of com.sun.java.accessibility.util.java.awt.*Translator.java I found this code in com.sun.java.accessibility.util.Translator.getTranslatorClass:

                  t = Class.forName("com.sun.java.accessibility.util."
                                    + c.getName()
                                    + "Translator");

      So apparently at some point someone did some refactoring and that is now dead code because there are no *Translator classes in com.sun.java.accessibility.util.

        Attachments

          Activity

            People

            Assignee:
            ptbrunet Pete Brunet (Inactive)
            Reporter:
            ptbrunet Pete Brunet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: