-
Bug
-
Resolution: Fixed
-
P5
-
None
-
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.)
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.)