-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 8
-
Component/s: client-libs
-
b11
Some fields in MediaTracker and its supporting classes can be marked as final: these fields never change after being initialised in the constructor for the class.
MediaTracker.target is the component associated with this instance of media tracker. The value is initialised in the MediaTracker constructor and is never changed.
MediaTracker.head can be private, it's not used outside of the class.
The fields `tracker` and `ID` in the MediaEntry class are never changed after being set in the constructor.
The fields in ImageMediaEntry—image, width and height—can also be final.
MediaTracker.target is the component associated with this instance of media tracker. The value is initialised in the MediaTracker constructor and is never changed.
MediaTracker.head can be private, it's not used outside of the class.
The fields `tracker` and `ID` in the MediaEntry class are never changed after being set in the constructor.
The fields in ImageMediaEntry—image, width and height—can also be final.
- relates to
-
JDK-8378590 Clean up javadoc in MediaTracker
-
- Open
-
-
JDK-8376420 Remove AppContext from javax/swing/ImageIcon.java
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/3e087d8e
-
Review(master)
openjdk/jdk/29899