Commit 7ae82b07 authored by Stephane Nicoll's avatar Stephane Nicoll

Stop calling Charset.availableCharsets() early

This is no longer required as Spring Framework has been updated to
invoke this method lazily as well.

Closes gh-13423
parent deea8ebc
......@@ -16,7 +16,6 @@
package org.springframework.boot.autoconfigure;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicBoolean;
......@@ -173,7 +172,6 @@ public class BackgroundPreinitializer
@Override
public void run() {
StandardCharsets.UTF_8.name();
Charset.availableCharsets();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment