Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit d3daee1

Browse files
committed
Update of dependencies.
Change-Id: I2ba93f930dd9625bbcdbb9bd8b2c958d52d025e1
1 parent 212b13a commit d3daee1

File tree

5 files changed

+25
-18
lines changed

5 files changed

+25
-18
lines changed

examples/helloworld-spring-annotations/src/test/java/org/glassfish/jersey/examples/hello/spring/annotations/SpringRequestResourceTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2014-2015 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2014-2016 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -58,8 +58,7 @@ public class SpringRequestResourceTest extends JerseyTest {
5858
@Override
5959
protected Application configure() {
6060
ApplicationContext context = new AnnotationConfigApplicationContext(SpringAnnotationConfig.class);
61-
return new JerseyConfig()
62-
.property("contextConfig", context);
61+
return new JerseyConfig().property("contextConfig", context);
6362
}
6463

6564
@Test

ext/spring3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
</dependencies>
168168

169169
<properties>
170-
<spring3.version>3.2.3.RELEASE</spring3.version>
170+
<spring3.version>3.2.17.RELEASE</spring3.version>
171171
</properties>
172172

173173
<build>

media/json-jackson/src/main/java/org/glassfish/jersey/jackson/internal/JacksonObjectProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2015-2016 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -236,7 +236,7 @@ public void depositSchemaProperty(final PropertyWriter writer,
236236
final JsonObjectFormatVisitor objectVisitor,
237237
final SerializerProvider provider) throws JsonMappingException {
238238
if (include(writer.getName())) {
239-
writer.depositSchemaProperty(objectVisitor);
239+
writer.depositSchemaProperty(objectVisitor, provider);
240240
}
241241
}
242242

pom.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,19 +1885,19 @@
18851885
<easymock.version>3.3</easymock.version>
18861886
<ejb.version>3.2</ejb.version>
18871887
<gf.impl.version>4.0</gf.impl.version>
1888-
<fasterxml.classmate.version>1.2.0</fasterxml.classmate.version>
1888+
<fasterxml.classmate.version>1.3.3</fasterxml.classmate.version>
18891889
<findbugs.glassfish.version>1.3</findbugs.glassfish.version>
18901890
<findbugs.version>3.0.2</findbugs.version>
18911891
<freemarker.version>2.3.23</freemarker.version>
18921892
<gae.version>1.8.4</gae.version>
1893-
<grizzly.client.version>1.10</grizzly.client.version>
1894-
<grizzly2.version>2.3.23</grizzly2.version>
1893+
<grizzly.client.version>1.11</grizzly.client.version>
1894+
<grizzly2.version>2.3.28</grizzly2.version>
18951895
<guava.version>18.0</guava.version>
18961896
<hamcrest.version>1.3</hamcrest.version>
18971897
<xmlunit.version>1.6</xmlunit.version>
18981898
<hk2.version>2.5.0-b30</hk2.version>
1899-
<httpclient.version>4.5</httpclient.version>
1900-
<jackson.version>2.5.4</jackson.version>
1899+
<httpclient.version>4.5</httpclient.version> <!-- TODO: 4.5.2 doesn't work; apache client connector tests -->
1900+
<jackson.version>2.8.4</jackson.version>
19011901
<jackson1.version>1.9.13</jackson1.version>
19021902
<javassist.version>3.20.0-GA</javassist.version>
19031903
<javax.annotation.version>1.2</javax.annotation.version>
@@ -1912,10 +1912,10 @@
19121912
<jaxrs.api.spec.version>2.0</jaxrs.api.spec.version>
19131913
<jaxrs.api.impl.version>2.0.1</jaxrs.api.impl.version>
19141914
<jboss.logging.version>3.3.0.Final</jboss.logging.version>
1915-
<jersey1.version>1.19</jersey1.version>
1915+
<jersey1.version>1.19.3</jersey1.version>
19161916
<jersey1.last.final.version>${jersey1.version}</jersey1.last.final.version>
1917-
<jettison.version>1.3.7</jettison.version>
1918-
<jetty.plugin.version>6.1.24</jetty.plugin.version>
1917+
<jettison.version>1.3.7</jettison.version> <!-- TODO: 1.3.8 doesn't work; AbstractJsonTest complexBeanWithAttributes -->
1918+
<jetty.plugin.version>6.1.26</jetty.plugin.version>
19191919
<jetty.version>9.2.14.v20151106</jetty.version>
19201920
<jetty.servlet.api.25.version>6.1.14</jetty.servlet.api.25.version>
19211921
<jmh.version>1.10.2</jmh.version>
@@ -1937,15 +1937,15 @@
19371937
<paxexam.mvn.plugin.version>1.2.4</paxexam.mvn.plugin.version>
19381938
<rxjava.version>1.0.12</rxjava.version>
19391939
<rome.version>1.0</rome.version>
1940-
<rxjava.version>1.0.12</rxjava.version>
1940+
<rxjava.version>1.2.3</rxjava.version>
19411941
<servlet2.version>2.4</servlet2.version>
19421942
<servlet3.version>3.0.1</servlet3.version>
19431943
<simple.version>6.0.1</simple.version>
19441944
<slf4j.version>1.7.12</slf4j.version>
1945-
<spring3.version>3.2.3.RELEASE</spring3.version>
1945+
<spring3.version>3.2.17.RELEASE</spring3.version>
19461946
<validation.api.version>1.1.0.Final</validation.api.version>
1947-
<validation.impl.version>5.1.3.Final</validation.impl.version>
1948-
<weld.version>2.2.14.Final</weld.version>
1947+
<validation.impl.version>5.1.3.Final</validation.impl.version> <!-- 5.3.3.Final doesn't work - osgi bv tests -->
1948+
<weld.version>2.2.14.Final</weld.version> <!-- 2.4.1 doesn't work - bv tests -->
19491949
<xerces.version>2.11.0</xerces.version>
19501950
<xmlunit.version>1.6</xmlunit.version>
19511951
<mockito.version>1.10.19</mockito.version>

tests/e2e/src/test/java/org/glassfish/jersey/tests/e2e/client/grizzlyconnector/NonBlockingTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040

4141
package org.glassfish.jersey.tests.e2e.client.grizzlyconnector;
4242

43+
import java.util.concurrent.CountDownLatch;
4344
import java.util.concurrent.Future;
45+
import java.util.concurrent.TimeUnit;
4446

4547
import javax.ws.rs.GET;
4648
import javax.ws.rs.Path;
@@ -83,23 +85,29 @@ protected void configureClient(ClientConfig config) {
8385

8486
@Test
8587
public void testNonBlockingConnector() throws Exception {
88+
final CountDownLatch countDownLatch = new CountDownLatch(1);
89+
8690
Future<String> future = target("test")
8791
.request()
8892
.async()
8993
.get(new InvocationCallback<String>() {
9094
@Override
9195
public void completed(String response) {
9296
invocationCallbackThreadName = Thread.currentThread().getName();
97+
countDownLatch.countDown();
9398
}
9499

95100
@Override
96101
public void failed(Throwable throwable) {
97102
invocationCallbackThreadName = Thread.currentThread().getName();
103+
countDownLatch.countDown();
98104
}
99105
});
100106

101107
String response = future.get();
102108
assertNotNull(response);
109+
assertTrue("Invocation callback was not invoked",
110+
countDownLatch.await(5, TimeUnit.SECONDS));
103111
assertTrue("Invocation callback is not executed on the NIO pool thread.",
104112
!invocationCallbackThreadName.contains("jersey-client-async-executor"));
105113
}

0 commit comments

Comments
 (0)