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

fix misspellings of "dependent" and "independent" in the JDK repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 10
    • None
    • other-libs
    • None
    • b22

      These words are spelled as "dependant" and "independant" in several files in the JDK repo:

      src/java.base/share/classes/java/text/Collator.java
      src/java.base/share/classes/java/text/NumberFormat.java
      src/java.base/share/classes/sun/nio/ch/Net.java
      src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m
      src/java.desktop/share/classes/java/awt/EventQueue.java
      src/java.desktop/share/classes/javax/sound/midi/MidiDevice.java
      src/java.desktop/share/classes/javax/swing/plaf/basic/BasicToolTipUI.java
      src/java.desktop/share/classes/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
      src/java.desktop/share/classes/javax/swing/plaf/metal/MetalTitlePane.java
      src/java.desktop/share/classes/javax/swing/text/GlyphView.java
      src/java.desktop/share/classes/javax/swing/text/TableView.java
      src/jdk.internal.le/share/classes/jdk/internal/jline/console/ConsoleReader.java
      src/jdk.sctp/share/classes/com/sun/nio/sctp/package-info.java
      test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/togglebutton/LayoutControlPanel.java

      These occurrences are all within comments; unfortunately, some of them are within javadoc comments that form part of the API specification, so the specification has those misspellings too.

      (The spelling "dependant" is acceptable for the noun form of the word in British English, but most of the occurrences I've seen in the source code are adjectives.)

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: