mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
This commit is contained in:
parent
e0d98dd301
commit
3bffe223a3
6 changed files with 173 additions and 81 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2022, 2023, 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
|
||||
|
@ -51,7 +51,7 @@ public sealed interface Signature {
|
|||
* @return Java type signature
|
||||
*/
|
||||
public static Signature parseFrom(String javaTypeSignature) {
|
||||
return new SignaturesImpl().parseSignature(requireNonNull(javaTypeSignature));
|
||||
return new SignaturesImpl(javaTypeSignature).parseSignature();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue