On 01/12/2011 10:46, Alan Bateman wrote:
On 01/12/2011 10:29, Chris Hegarty wrote:
Yes, I was thinking the same. Would you be ok if I push what I have in
this webrev and work on moving the other usages of sun.misc.Service to
ServiceLoader before possibly deprecating it?
I'd like to get these changes in so others fixing warnings in sun.misc
can sync up.
I think that's fine but I think we should remember to sort out these
remaining sun.misc.Service usages and deprecate it in jdk8. On
I filed CR 7116912: "Replace usage of sun.misc.Service with
j.u.ServiceLoader and deprecate Service", for this.
JavaUtilJarAccess then I assume this will be re-examined by whoever
sorts out the warnings in java.util.jar.
You mean List -> List<Object>, right?
I think this is the generic type, rather than just giving it Object to
keep it quiet! I followed it back SignatureFileVerifier.process(). Or
did I miss something?
-Alan
PS: Looks like 6514998 is someone asking for InetAddress to be changed
to use ServiceLoader so that can probably be closed.
Great, this is a nice side effect. Thanks for finding this bug.
-Chris.