Skip to content

Commit

Permalink
[#535] Change record test
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Feb 10, 2024
1 parent 2358830 commit d9da1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jpeek/skeleton/XmlClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ final class XmlClass extends ClassVisitor implements Iterable<Directive> {
* @param src The source
*/
XmlClass(final CtClass src) {
super(Opcodes.ASM9);
super(Opcodes.ASM7);
this.source = src;
this.attrs = new Directives();
this.methods = new LinkedList<>();
Expand Down
6 changes: 1 addition & 5 deletions src/test/resources/org/jpeek/samples/BarRecord.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
package org.jpeek.samples;
class BarRecord {
record Foo(String town) { }

private Foo address;
}
record BarRecord (String town) { }

0 comments on commit d9da1b3

Please sign in to comment.