diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-09-25 01:16:20 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-09-25 01:16:20 +0200 |
commit | 230cd667657ab5c1e07819b18294c698bf17f9a5 (patch) | |
tree | 2e9d1feb831c8b8317748b69999a180ed631f0df /src | |
parent | 2fd318886e6c290153090a8ffcd7c064efad8e2f (diff) | |
download | lombok-230cd667657ab5c1e07819b18294c698bf17f9a5.tar.gz lombok-230cd667657ab5c1e07819b18294c698bf17f9a5.tar.bz2 lombok-230cd667657ab5c1e07819b18294c698bf17f9a5.zip |
[jdk13] Added a new constant pool type to our cp parser
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lombok/bytecode/ClassFileMetaData.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/lombok/bytecode/ClassFileMetaData.java b/src/core/lombok/bytecode/ClassFileMetaData.java index 826eed83..0510292d 100644 --- a/src/core/lombok/bytecode/ClassFileMetaData.java +++ b/src/core/lombok/bytecode/ClassFileMetaData.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2018 The Project Lombok Authors. + * Copyright (C) 2010-2019 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -43,6 +43,7 @@ public class ClassFileMetaData { // New in java7: support for methodhandles and invokedynamic private static final byte METHOD_HANDLE = 15; private static final byte METHOD_TYPE = 16; + private static final byte DYNAMIC = 17; private static final byte INVOKE_DYNAMIC = 18; // New in java9: support for modules private static final byte MODULE = 19; @@ -96,6 +97,7 @@ public class ClassFileMetaData { case INTERFACE_METHOD: case NAME_TYPE: case INVOKE_DYNAMIC: + case DYNAMIC: position += 4; break; case LONG: @@ -388,6 +390,9 @@ public class ClassFileMetaData { case METHOD_TYPE: result.append("MethodType..."); break; + case DYNAMIC: + result.append("Dynamic..."); + break; case INVOKE_DYNAMIC: result.append("InvokeDynamic..."); break; |