From 4c6a3af4021653d504163a4c2b71675fa70579c1 Mon Sep 17 00:00:00 2001 From: Mickael Istria Date: Fri, 14 Jun 2024 09:44:22 +0200 Subject: [PATCH] Use Type.flatName to compute binding key --- .../org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java index f73211dfd33..c1187b0e607 100644 --- a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java +++ b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom/JavacTypeBinding.java @@ -173,7 +173,7 @@ static void getKey(StringBuilder builder, Type typeToBuild, boolean isLeaf) { builder.append('L'); } } - builder.append(typeToBuild.asElement().getQualifiedName().toString().replace('.', '/')); + builder.append(typeToBuild.asElement().flatName().toString().replace('.', '/')); if (typeToBuild.isParameterized()) { builder.append('<'); for (var typeArgument : typeToBuild.getTypeArguments()) {