8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig

Reviewed-by: asotona
This commit is contained in:
Chen Liang 2024-02-07 07:54:22 +00:00 committed by Adam Sotona
parent e0d98dd301
commit 3bffe223a3
6 changed files with 173 additions and 81 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -109,6 +109,6 @@ public sealed interface MethodSignature
*/
public static MethodSignature parseFrom(String methodSignature) {
return new SignaturesImpl().parseMethodSignature(requireNonNull(methodSignature));
return new SignaturesImpl(methodSignature).parseMethodSignature();
}
}