JDK-8005628 : Warnings compiling jaxws repository
  • Type: Bug
  • Component: xml
  • Sub-Component: jax-ws
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-01-01
  • Updated: 2013-04-11
  • Resolved: 2013-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b85Fixed
Related Reports
Duplicate :  
Description
## Starting jaxws
Updating jaxws/dist/lib/src.zip
Compiling 24 files for BUILD_JAF
Compiling 2822 files for BUILD_JAXWS
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/Util.java:46: warning: '_' used as an identifier
        } catch( SecurityException _ ) {
                                   ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java:345: warning: '_' used as an identifier
        public Class onClass(Class c, Void _) {
                                           ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java:349: warning: '_' used as an identifier
        public Class onParameterizdType(ParameterizedType p, Void _) {
                                                                  ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java:354: warning: '_' used as an identifier
        public Class onGenericArray(GenericArrayType g, Void _) {
                                                             ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java:360: warning: '_' used as an identifier
        public Class onVariable(TypeVariable v, Void _) {
                                                     ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java:364: warning: '_' used as an identifier
        public Class onWildcard(WildcardType w, Void _) {
                                                     ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/LeafBeanInfoImpl.java:89: warning: '_' used as an identifier
    public final String getElementNamespaceURI(BeanT _) {
                                                     ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/LeafBeanInfoImpl.java:93: warning: '_' used as an identifier
    public final String getElementLocalName(BeanT _) {
                                                  ^
  (use of '_' as an identifier might not be supported in future releases)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/JAXWSUtils.java:128: warning: '_' used as an identifier
        } catch( MalformedURLException _ ) {
                                       ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/Driver.java:225: warning: '_' used as an identifier
        } catch (WeAreDone _) {
                           ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ModelLoader.java:356: warning: '_' used as an identifier
            } catch( SpeculationFailure _ ) {
                                        ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java:245: warning: '_' used as an identifier
    public Location getFieldLocation(Void _) {
                                          ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/nav/NavigatorImpl.java:249: warning: '_' used as an identifier
    public Location getMethodLocation(Void _) {
                                           ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/SchemaCompilerImpl.java:172: warning: '_' used as an identifier
        } catch( MalformedURLException _ ) {
                                       ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/internalizer/DOMForest.java:478: warning: '_' used as an identifier
            } catch (SAXException _) {
                                  ^
  (use of '_' as an identifier might not be supported in future releases)
/u/alanb/ws/tl/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/FactoryFinder.java:199: warning: non-varargs call of varargs method with inexact argument type for last parameter;
            java.util.Iterator iter = ((Iterable) m.invoke(null, args)).iterator();
                                                                 ^
  cast to Object for a varargs call
  cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
16 warnings
Creating jaxws/dist/lib/classes.jar
## Finished jaxws (build time 00:00:33)
Comments
There is no change-set for JDK-8005628 so it is confusing to have it marked as fixed in a specific bug. It would be better to close it as a dup of JDK-8010393.
11-04-2013

Fixed in the respective codelines of jsr224/jaxb/jaxws - will be fixed with next integration.
21-01-2013