jersey
  1. jersey
  2. JERSEY-1124

ServiceFinder not returning services in META-INF/services

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.1, 2.0
    • Fix Version/s: 2.0-m11, 2.0
    • Component/s: core
    • Labels:
      None

      Description

      Shouldn't the servicesUrls return when we have services defined in META-INF/services even if we have BUNDLE_VERSION defined?

      http://java.net/projects/jersey/sources/svn/content/trunk/jersey/jersey-core/src/main/java/com/sun/jersey/spi/service/ServiceFinder.java?rev=5697

      private static Enumeration<URL> filterServiceURLsWithVersion(String serviceName, Enumeration<URL> serviceUrls) {
      0217. if (BUNDLE_VERSION == null || !serviceUrls.hasMoreElements())
      0218. return serviceUrls;

        Activity

        charlesk40 created issue -
        Martin Matula made changes -
        Field Original Value New Value
        Assignee Michal Gajdos [ michalgajdos ]
        Michal Gajdos made changes -
        Fix Version/s 1.13 [ 15562 ]
        Martin Matula made changes -
        Priority Major [ 3 ] Critical [ 2 ]
        Tags 1_13-blocker
        Michal Gajdos made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Michal Gajdos made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jakub Podlesak made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Michal Gajdos made changes -
        Fix Version/s 2.0-unplanned [ 15288 ]
        Fix Version/s 2.0 [ 15271 ]
        Affects Version/s 2.0-unplanned [ 15288 ]
        Affects Version/s 2.0 [ 15271 ]
        Michal Gajdos made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 6 hours [ 21600 ]
        Michal Gajdos made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Marek Potociar made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Marek Potociar made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Pavel Bucek made changes -
        Fix Version/s 2.0-m11 [ 16171 ]
        Fix Version/s 2.0-unplanned [ 15288 ]
        Fix Version/s 1.13 [ 15562 ]
        Marek Potociar made changes -
        Affects Version/s unplanned [ 15288 ]
        Marek Potociar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michal Gajdos
            Reporter:
            charlesk40
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours
              6h