Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Brychcy2018-01-31 22:32:39 +0000
committerTill Brychcy2018-02-02 12:22:36 +0000
commit6f6207970ba7847a3686a6da19c083165c7ed208 (patch)
tree5d226e2cd0f8cae60ac319245dc16c51c35c1a31
parent8d1e8779964a67fd6af0743b5bac69ec329f1a28 (diff)
downloadeclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.tar.gz
eclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.tar.xz
eclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.zip
Bug 530581 - [9] ModuleBinding.tagBits should be longI20180202-2000
-rw-r--r--org.eclipse.jdt.compiler.apt/src/org/eclipse/jdt/internal/compiler/apt/model/ModuleElementImpl.java4
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java4
2 files changed, 4 insertions, 4 deletions
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..1a9a941de9 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) 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
@@ -65,7 +65,7 @@ public class ModuleElementImpl extends ElementImpl implements ModuleElement {
@Override
public Set<Modifier> getModifiers() {
- int modifiers = this.binding.tagBits; // TODO: This is wrong, this should be "modifiers"
+ int modifiers = this.binding.modifiers;
return Factory.getModifiers(modifiers, getKind(), false);
}
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
index fde979d78c..0250ff5113 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ModuleBinding.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2016, 2017 IBM Corporation and others.
+ * Copyright (c) 2016, 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
@@ -107,7 +107,7 @@ public class ModuleBinding extends Binding implements IUpdatableModule {
private SimpleSetOfCharArray packageNames;
public int modifiers;
public LookupEnvironment environment;
- public int tagBits;
+ public long tagBits;
public int defaultNullness = NO_NULL_DEFAULT;
ModuleBinding[] requiredModules = null;
boolean isAuto = false;

Back to the top