diff options
author | Stephan Herrmann | 2017-09-19 13:01:33 +0000 |
---|---|---|
committer | Stephan Herrmann | 2017-09-19 13:01:33 +0000 |
commit | bcb36a1c873acb9983679177268ae249b404da93 (patch) | |
tree | 4ce9d537f48178fea883930e7b8aa1e40ab3d309 /org.eclipse.jdt.core | |
parent | f5feab257d96f1d71c18ccde0c0dd0021061ed6a (diff) | |
download | eclipse.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.java | 2 |
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; |