Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6448928

SigTest's exclude plugin implementation doesnt filter packages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • st1.4
    • st1.4
    • tools
    • None
    • x86
    • solaris

      Excluding unexistent package from API: '-excludesig java.net' - doesnt work.

      Consider this sample:
      --------------------------------------------------------------------------
      java -cp binaries/lib/sigtestdev.jar:binaries/lib/exclude.jar com.sun.tdk.signaturetest.Setup -classpath /java/re/jdk/1.5.0/archive/fcs/binaries/solaris-i586/jre/lib/rt.jar -static -filename java.sig -package java.lang -package java.util
      ---------------------------------------------------------------------------
       java -cp binaries/lib/sigtestdev.jar:binaries/lib/exclude.jar -Dexclude.plugin=com.sun.tdk.exclude.ExcludeList com.sun.tdk.signaturetest.SignatureTest -classpath /java/re/jdk/1.5.0/archive/fcs/binaries/solaris-i586/jre/lib/rt.jar -static -filename java.sig -package java.net -excludesig java.net

      SignatureTest report
      Tested version:
      Check mode: src [throws normalized]
      Constant checking: on


      Added Classes
      -------------

      java.net.Authenticator
      java.net.Authenticator$RequestorType
      java.net.BindException
      java.net.CacheRequest
      java.net.CacheResponse
      java.net.ConnectException
      java.net.ContentHandler
      java.net.ContentHandlerFactory
      java.net.CookieHandler
      java.net.DatagramPacket
      java.net.DatagramSocket
      java.net.DatagramSocketImpl
      java.net.DatagramSocketImplFactory
      java.net.FileNameMap
      java.net.HttpRetryException
      java.net.HttpURLConnection
      java.net.Inet4Address
      java.net.Inet6Address
      java.net.InetAddress
      java.net.InetSocketAddress
      java.net.JarURLConnection
      java.net.MalformedURLException
      java.net.MulticastSocket
      java.net.NetPermission
      java.net.NetworkInterface
      java.net.NoRouteToHostException
      java.net.PasswordAuthentication
      java.net.PortUnreachableException
      java.net.ProtocolException
      java.net.Proxy
      java.net.Proxy$Type
      java.net.ProxySelector
      java.net.ResponseCache
      java.net.SecureCacheResponse
      java.net.ServerSocket
      java.net.Socket
      java.net.SocketAddress
      java.net.SocketException
      java.net.SocketImpl
      java.net.SocketImplFactory
      java.net.SocketOptions
      java.net.SocketPermission
      java.net.SocketTimeoutException
      java.net.URI
      java.net.URISyntaxException
      java.net.URL
      java.net.URLClassLoader
      java.net.URLConnection
      java.net.URLDecoder
      java.net.URLEncoder
      java.net.URLStreamHandler
      java.net.URLStreamHandlerFactory
      java.net.UnknownHostException
      java.net.UnknownServiceException


      STATUS:Failed.54 errors
      -------------------------------------------------------------------------
      Conclusion: it seems -excludesig option of exclude.plugin must have greater priority as -package option.

            lmesnik Leonid Mesnik
            asokolovsunw Aleksandr Sokolov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: