]> source.dussan.org Git - aspectj.git/commit
BCEL: use MAX_CP_ENTRIES from internal class, not from JRE
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 21 Dec 2022 14:56:34 +0000 (15:56 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Wed, 21 Dec 2022 14:56:34 +0000 (15:56 +0100)
commit9161b23b47c5046bec7f27c53145b1ca2fabf8df
treeabdd22c0727d0f8e94d81fbe174886f2a7ecae5d
parentffacda77227a11da3bf53ddba1c0fa5746d3e73e
BCEL: use MAX_CP_ENTRIES from internal class, not from JRE

Instead of importing com.sun.org.apache.bcel.internal.Const, use
use org.aspectj.apache.bcel.Constants. The former class is from the
internal JRE module 'java.xml' which is not exposed by default.
Actually, no existing test failed because of it, but javadoc generation
for the AspectJ weaver.

Relates to #192.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/ConstantPool.java