Other |
---|
tbdUnresolved |
Relates :
|
When generifying SoftCache I discovered two potential type problems in it: I don't think it has worked properly ever. There appears to be only one place in the entire JDK where this class is used: sun.awt.SunToolKit. If this could be replaced by say just a WeakHashMap or equivalent with SoftReferences we could be able to get rid of more than 440 lines of SoftCache implementation in sun.misc, which currently is the root of most warnings in said package.
|