diff options
| author | Till Brychcy | 2018-01-31 22:32:39 +0000 |
|---|---|---|
| committer | Till Brychcy | 2018-02-02 12:22:36 +0000 |
| commit | 6f6207970ba7847a3686a6da19c083165c7ed208 (patch) | |
| tree | 5d226e2cd0f8cae60ac319245dc16c51c35c1a31 | |
| parent | 8d1e8779964a67fd6af0743b5bac69ec329f1a28 (diff) | |
| download | eclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.tar.gz eclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.tar.xz eclipse.jdt.core-6f6207970ba7847a3686a6da19c083165c7ed208.zip | |
Change-Id: I85385d9647e2a6a578a8e673e6ff9419f4a73420
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; |
