8000362: (pack200) Deprecate Packer/Unpacker addPropertyChangeLister and removePropertyChangeListener methods (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Thu Oct 11 13:40:10 UTC 2012
- Previous message: hg: jdk8/tl/jdk: 7186817: Remove Windows 95/98/ME Support
- Next message: 8000362: (pack200) Deprecate Packer/Unpacker addPropertyChangeLister and removePropertyChangeListener methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This is a follow-on from yesterday's mail on deprecating the LogManager's add/removePropertyChangeListener methods. The other 4 problematic methods identified in JEP 162 [1] are the same name methods on Pack200.Packer and Pack200.Unpacker. The webrev to deprecate these methods is here:
http://cr.openjdk.java.net/~alanb/8000362/webrev/
As with the LogManager methods, Mandy Chung searched >20000 projects. In this case we didn't find any usages of these methods and this gives us confidence that these methods are rarely used. We don't propose to provide a replacement for these methods but instead just include wording to suggest that applications poll the value of the progress property if they really need to provide some progress indication.
Kumar is the pack200 guru here and I know he's busy/away at the moment so I plan to hold onto this patch until I at least hear from him.
-Alan.
[1] http://openjdk.java.net/jeps/162
- Previous message: hg: jdk8/tl/jdk: 7186817: Remove Windows 95/98/ME Support
- Next message: 8000362: (pack200) Deprecate Packer/Unpacker addPropertyChangeLister and removePropertyChangeListener methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]