Skip to content

Commit a2e3692

Browse files
committed
Backport Target platform resolved multiple times
1 parent 1e9c6c5 commit a2e3692

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ As such, these two options have been re-introduced for Tycho 3.0.2 and are no lo
2020
- Provide a "verify-pom-resolves" mojo #1451
2121
- JUnit 5.9 support in Tycho 3.0.x #1943
2222
- Consumer-POM should use packaging-type jar instead of eclipse-plugin #2005
23-
- Mirroring of packed artifacts must be disabled
23+
- Mirroring of packed artifacts must be disabled
24+
- Target platform resolved multiple times
2425

2526
## 3.0.1
2627

tycho-bundles/org.eclipse.tycho.p2.resolver.shared/src/main/java/org/eclipse/tycho/p2/target/facade/TargetDefinitionFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ public static TargetDefinitionFile read(File file) {
498498

499499
public static TargetDefinitionFile read(URI uri) {
500500
try {
501-
return FILE_CACHE.computeIfAbsent(uri, key -> {
501+
return FILE_CACHE.computeIfAbsent(uri.normalize(), key -> {
502502
try {
503503
try (InputStream input = uri.toURL().openStream()) {
504504
return parse(parseDocument(input), uri.toASCIIString());

0 commit comments

Comments
 (0)