Skip to content

Commit

Permalink
add testcase for #468
Browse files Browse the repository at this point in the history
  • Loading branch information
mebigfatguy committed May 1, 2024
1 parent 7c7fdf4 commit bf816f7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/samples.fbp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<Jar>../target/classes/samples</Jar>
<AuxClasspathEntry>../lib/asm-debug-all-5.0.2.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/backport-util-concurrent-3.1.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/commons-codec-1.10.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/commons-codec-1.16.0.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/commons-collections-3.2.2.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/commons-lang3-3.4.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/guava-19.0.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/commons-lang3-3.14.0.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/guava-33.0.0-jre.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/httpclient-4.5.2.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/httpclient-cache-4.5.2.jar</AuxClasspathEntry>
<AuxClasspathEntry>../lib/httpcore-4.4.5.jar</AuxClasspathEntry>
Expand Down
11 changes: 11 additions & 0 deletions src/samples/java/ex/OPM_Sample.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ public int getFPFoo() {
public void doIt() {
Executors.newSingleThreadScheduledExecutor().scheduleAtFixedRate(Writer::fpFlush, 1L, 1L, TimeUnit.SECONDS);
}

static class OPM468 {
@Override
public boolean equals(Object o) {
if (!(o instanceof OPM468)) {
return false;
}

return true;
}
}
}

abstract class OPMSuper {
Expand Down

0 comments on commit bf816f7

Please sign in to comment.