Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8005628

Warnings compiling jaxws repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • xml
    • None
    • b85

    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)

      Attachments

        Issue Links

          Activity

            People

              mgrebac Martin Grebáč (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: