# HG changeset patch # User dlong # Date 1561755014 14400 # Node ID 6546a2ae6773688e72ee3331d6e98d1dc5237274 # Parent c868b89c7dd90d32bad97dc47b10a7df14a62d58 8226533: JVMCI: findUniqueConcreteMethod should handle statically bindable methods directly Reviewed-by: kvn, dlong Contributed-by: Doug Simon diff -r c868b89c7dd9 -r 6546a2ae6773 src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java --- a/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java Fri Jun 28 20:46:25 2019 +0100 +++ b/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java Fri Jun 28 16:50:14 2019 -0400 @@ -579,6 +579,10 @@ // The type isn't known to implement the method. return null; } + if (resolvedMethod.canBeStaticallyBound()) { + // No assumptions are required. + return new AssumptionResult<>(resolvedMethod); + } ResolvedJavaMethod result = resolvedMethod.uniqueConcreteMethod(this); if (result != null) {