Skip to content

Commit

Permalink
Fixed: Cannot build due to missing RuntimeDelegate 2.2-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Jun 29, 2018
1 parent 834a144 commit 2e3ea37
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

package org.glassfish.jersey.internal;

import java.util.concurrent.CompletionStage;

import javax.ws.rs.JAXRS;
import javax.ws.rs.JAXRS.Instance;
import javax.ws.rs.core.Application;

import org.glassfish.jersey.message.internal.MessagingBinders;
Expand Down Expand Up @@ -43,4 +47,15 @@ public <T> T createEndpoint(Application application, Class<T> endpointType)
throws IllegalArgumentException, UnsupportedOperationException {
throw new UnsupportedOperationException(LocalizationMessages.NO_CONTAINER_AVAILABLE());
}

@Override
public JAXRS.Configuration.Builder createConfigurationBuilder() {
throw new UnsupportedOperationException();
}

@Override
public CompletionStage<Instance> bootstrap(Application application, JAXRS.Configuration configuration) {
throw new UnsupportedOperationException();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

package org.glassfish.jersey.internal;

import java.util.concurrent.CompletionStage;

import javax.ws.rs.JAXRS;
import javax.ws.rs.JAXRS.Instance;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.Link;
Expand Down Expand Up @@ -46,6 +50,16 @@ public <T> T createEndpoint(Application application, Class<T> endpointType)
throw new UnsupportedOperationException("Not supported yet.");
}

@Override
public JAXRS.Configuration.Builder createConfigurationBuilder() {
throw new UnsupportedOperationException();
}

@Override
public CompletionStage<Instance> bootstrap(Application application, JAXRS.Configuration configuration) {
throw new UnsupportedOperationException();
}

public void testMediaType() {
MediaType m = new MediaType("text", "plain");
Assert.assertNotNull(m);
Expand Down

0 comments on commit 2e3ea37

Please sign in to comment.