mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
自己实现的hashCode替换为标准hashCode
This commit is contained in:
@@ -74,7 +74,7 @@ public class SingletonTest {
|
||||
@Disabled
|
||||
void issue3435Test() {
|
||||
final String key = "123";
|
||||
final ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(10, 10, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>());
|
||||
final ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(10, 10, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<>());
|
||||
for (int i = 0; i < 100; i++) {
|
||||
threadPoolExecutor.execute(() -> {
|
||||
Singleton.get(key, () -> {
|
||||
|
Reference in New Issue
Block a user