Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2018-03-14 06:10:07 -0400
committerJay Arthanareeswaran2018-03-14 07:34:23 -0400
commit9d60ece456a50537166460b9f7f4ecdad37d72e5 (patch)
tree4840ee5a9c0e75cf4c3f51165981d5e43aa64eaf /org.eclipse.jdt.compiler.apt
parentf55d69502d5f7bd50a6bad98a6e170aeddab8ae6 (diff)
downloadeclipse.jdt.core-9d60ece456a50537166460b9f7f4ecdad37d72e5.tar.gz
eclipse.jdt.core-9d60ece456a50537166460b9f7f4ecdad37d72e5.tar.xz
eclipse.jdt.core-9d60ece456a50537166460b9f7f4ecdad37d72e5.zip
Bug 530444 - [10] JSR 269 API changesY20180315-1000
Include the API from java.compiler module (as a plain old JAR) to the relevant projects. Change-Id: If2fe8656c50a286d38adb8c4d91eda4fbaee5261 Signed-off-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.compiler.apt')
-rw-r--r--org.eclipse.jdt.compiler.apt/build.properties2
-rw-r--r--org.eclipse.jdt.compiler.apt/lib/java10api.jarbin0 -> 109915 bytes
-rw-r--r--org.eclipse.jdt.compiler.apt/lib/java9api.jarbin25089 -> 0 bytes
-rw-r--r--org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java12
4 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.jdt.compiler.apt/build.properties b/org.eclipse.jdt.compiler.apt/build.properties
index cb4935b695..62b759607f 100644
--- a/org.eclipse.jdt.compiler.apt/build.properties
+++ b/org.eclipse.jdt.compiler.apt/build.properties
@@ -19,4 +19,4 @@ jars.compile.order = .
output.. = bin/
source.. = src/
-jars.extra.classpath = lib/java9api.jar
+jars.extra.classpath = lib/java10api.jar
diff --git a/org.eclipse.jdt.compiler.apt/lib/java10api.jar b/org.eclipse.jdt.compiler.apt/lib/java10api.jar
new file mode 100644
index 0000000000..464b69134f
--- /dev/null
+++ b/org.eclipse.jdt.compiler.apt/lib/java10api.jar
Binary files differ
diff --git a/org.eclipse.jdt.compiler.apt/lib/java9api.jar b/org.eclipse.jdt.compiler.apt/lib/java9api.jar
deleted file mode 100644
index fd56ad100e..0000000000
--- a/org.eclipse.jdt.compiler.apt/lib/java9api.jar
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java
index de3e371739..47209023dc 100644
--- a/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java
+++ b/org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2017 IBM Corporation and others.
+ * Copyright (c) 2017, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -221,7 +221,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public <R, P> R accept(DirectiveVisitor<R, P> visitor, P param) {
- return visitor.visit(this);
+ return visitor.visitExports(this, param);
}
@Override
@@ -254,7 +254,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public <R, P> R accept(DirectiveVisitor<R, P> visitor, P param) {
- return visitor.visit(this);
+ return visitor.visitRequires(this, param);
}
@Override
@@ -287,7 +287,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public <R, P> R accept(DirectiveVisitor<R, P> visitor, P param) {
- return visitor.visit(this);
+ return visitor.visitOpens(this, param);
}
@Override
@@ -312,7 +312,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public <R, P> R accept(DirectiveVisitor<R, P> visitor, P param) {
- return visitor.visit(this);
+ return visitor.visitUses(this, param);
}
@Override
@@ -338,7 +338,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public <R, P> R accept(DirectiveVisitor<R, P> visitor, P param) {
- return visitor.visit(this);
+ return visitor.visitProvides(this, param);
}
@Override

Back to the top