Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2017-09-19 13:01:33 +0000
committerStephan Herrmann2017-09-19 13:01:33 +0000
commitbcb36a1c873acb9983679177268ae249b404da93 (patch)
tree4ce9d537f48178fea883930e7b8aa1e40ab3d309 /org.eclipse.jdt.core
parentf5feab257d96f1d71c18ccde0c0dd0021061ed6a (diff)
downloadeclipse.jdt.core-bcb36a1c873acb9983679177268ae249b404da93.tar.gz
eclipse.jdt.core-bcb36a1c873acb9983679177268ae249b404da93.tar.xz
eclipse.jdt.core-bcb36a1c873acb9983679177268ae249b404da93.zip
Bug 521362: [9][compiler] Error not reported for exports directive inY20170919-1000P20170919-1155P20170919-0935
module-info when the exported package contains an empty java file - fix for case sensitive file systems Change-Id: Ia7a661306b5d8294ab4da062739b97f62b611518
Diffstat (limited to 'org.eclipse.jdt.core')
-rw-r--r--org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
index 0dc5d97b61..faae62abbb 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
@@ -311,7 +311,7 @@ public boolean hasCUDeclaringPackage(String qualifiedPackageName, Function<Compi
return Stream.of(directoryList(qp2)).anyMatch(entry -> {
String entryLC = entry.toLowerCase();
boolean hasDeclaration = false;
- String fullPath = this.path + qp2 + "/" + entryLC; //$NON-NLS-1$
+ String fullPath = this.path + qp2 + "/" + entry; //$NON-NLS-1$
String pkgName = null;
if (entryLC.endsWith(SUFFIX_STRING_class)) {
return true;

Back to the top