Skip to content

Commit

Permalink
feat(objectionary#528): remove the puzzle for objectionary#528 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Apr 3, 2024
1 parent 4dd3098 commit 1e4442f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ public final class CustomClassVisitor extends ClassVisitor {

private final CustomClassWriter writer;


public CustomClassVisitor(final int api) {
this(api, new CustomClassWriter());
}

public CustomClassVisitor(final CustomClassWriter writer) {
this(new DefaultVersion().api(), writer);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@
*/
public class CustomClassWriter extends ClassWriter {

/**
* Constructor.
* @todo #488:90min Disable automatic frame computation in the ClassWriter.
* The ClassWriter is currently configured to automatically compute the stack map frames.
* This is a very expensive operation and it is not necessary for our use case.
* But if we disable it, tests fail.
* We need to investigate why this happens and fix it.
*/
CustomClassWriter() {
this(ClassWriter.COMPUTE_FRAMES);
}

/**
* Constructor.
* @param flags Flags. See {@link ClassWriter#COMPUTE_FRAMES} for more information.
Expand Down

0 comments on commit 1e4442f

Please sign in to comment.