Skip to content
This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Commit 8abcfcc

Browse files
committed
fix the build for newer jdk9 builds
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
1 parent c71e399 commit 8abcfcc

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

demos/customprovider-jdk9/src/main/java/org/glassfish/json/customprovider/TestProvider.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@
6464
*/
6565
public class TestProvider extends JsonProvider {
6666

67-
// need to override this here otherwise JsonProvider.provider()
68-
// would be called indefinetly leading to StackOverfolwError
69-
public static JsonProvider provider() {
70-
return new TestProvider();
71-
}
72-
7367
@Override
7468
public JsonGenerator createGenerator(Writer writer) {
7569
return new TestGenerator(writer);

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<plugin>
170170
<groupId>org.apache.maven.plugins</groupId>
171171
<artifactId>maven-javadoc-plugin</artifactId>
172-
<version>2.10.4</version>
172+
<version>3.0.0-M1</version>
173173
</plugin>
174174
<plugin>
175175
<groupId>org.apache.maven.plugins</groupId>
@@ -430,7 +430,7 @@
430430
<plugin>
431431
<groupId>org.apache.maven.plugins</groupId>
432432
<artifactId>maven-javadoc-plugin</artifactId>
433-
<version>2.10.4</version>
433+
<version>3.0.0-M1</version>
434434
<executions>
435435
<execution>
436436
<id>attach-javadocs</id>

0 commit comments

Comments
 (0)