mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
This commit is contained in:
parent
0c934ff4e2
commit
cfdc64fcb4
149 changed files with 1669 additions and 1323 deletions
|
@ -284,7 +284,7 @@ final class FingerPrint {
|
|||
case MethodModel mm -> {
|
||||
if (isPublic(mm.flags())) {
|
||||
Set<String> exceptionSet = new HashSet<>();
|
||||
mm.findAttribute(Attributes.EXCEPTIONS).ifPresent(ea ->
|
||||
mm.findAttribute(Attributes.exceptions()).ifPresent(ea ->
|
||||
ea.exceptions().forEach(e ->
|
||||
exceptionSet.add(e.asInternalName())));
|
||||
// treat type descriptor as a proxy for signature because signature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue