Skip to content

Commit 0739be3

Browse files
authored
refactor: softcode type descriptor of RVA (#79)
1 parent 36c8e52 commit 0739be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classport-commons/src/main/java/io/github/project/classport/commons/AnnotationConstantPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public ConstantPoolData getNewEntries() {
2121
try {
2222
int entryCount = 0;
2323
// Annotation type descriptor
24-
writeUtf8Entry(dos, "Lio/github/project/classport/commons/ClassportInfo;");
24+
writeUtf8Entry(dos, String.format("L%s;", ClassportInfo.class.getName().replace('.', '/')));
2525
entryCount++;
2626

2727
// Group (key)

0 commit comments

Comments
 (0)