From bf816f7f2246c9c094aa523e52b973b649752c54 Mon Sep 17 00:00:00 2001 From: Dave Brosius Date: Tue, 30 Apr 2024 23:36:22 -0400 Subject: [PATCH] add testcase for #468 --- etc/samples.fbp | 6 +++--- src/samples/java/ex/OPM_Sample.java | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/etc/samples.fbp b/etc/samples.fbp index 39b471f3..933ddc6d 100755 --- a/etc/samples.fbp +++ b/etc/samples.fbp @@ -2,10 +2,10 @@ ../target/classes/samples ../lib/asm-debug-all-5.0.2.jar ../lib/backport-util-concurrent-3.1.jar - ../lib/commons-codec-1.10.jar + ../lib/commons-codec-1.16.0.jar ../lib/commons-collections-3.2.2.jar - ../lib/commons-lang3-3.4.jar - ../lib/guava-19.0.jar + ../lib/commons-lang3-3.14.0.jar + ../lib/guava-33.0.0-jre.jar ../lib/httpclient-4.5.2.jar ../lib/httpclient-cache-4.5.2.jar ../lib/httpcore-4.4.5.jar diff --git a/src/samples/java/ex/OPM_Sample.java b/src/samples/java/ex/OPM_Sample.java index f769fa79..c033b3bf 100644 --- a/src/samples/java/ex/OPM_Sample.java +++ b/src/samples/java/ex/OPM_Sample.java @@ -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 {