Mercurial > hg > jdk9-shenandoah > jaxws
changeset 500:e3b68a164ebf
8039210: Fix type error in DefaultResourceInjector
Summary: adding generic types to method call; blocker for fixing javac issue
Reviewed-by: chegar
author | mkos |
---|---|
date | Fri, 23 May 2014 16:24:18 +0200 |
parents | 1ba2ace9be55 |
children | 0754bb097fd2 |
files | src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java Thu May 22 12:54:01 2014 -0700 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/server/DefaultResourceInjector.java Fri May 23 16:24:18 2014 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -40,7 +40,7 @@ */ public final class DefaultResourceInjector extends ResourceInjector { public void inject(@NotNull WSWebServiceContext context, @NotNull Object instance) { - InjectionPlan.buildInjectionPlan( + InjectionPlan.<Object, WebServiceContext>buildInjectionPlan( instance.getClass(),WebServiceContext.class,false).inject(instance,context); }