mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 10:06:13 +00:00
Remove JDK class StandardCharsets from classpath
This commit is contained in:
1 parent
d40399f309
commit
72d750e8bb
1 file changed
+1
-1
@@ -170,7 +170,7 @@ public final class RunIdMigrator {
|
||||
|
||||
private static String getUnmigrationCommandLine(File jenkinsHome) {
|
||||
StringBuilder cp = new StringBuilder();
|
||||
for (Class<?> c : new Class<?>[] {RunIdMigrator.class, /* TODO how to calculate transitive dependencies automatically? */StandardCharsets.class, WriterOutputStream.class, BuildException.class, FastDateFormat.class}) {
|
||||
for (Class<?> c : new Class<?>[] {RunIdMigrator.class, /* TODO how to calculate transitive dependencies automatically? */WriterOutputStream.class, BuildException.class, FastDateFormat.class}) {
|
||||
URL location = c.getProtectionDomain().getCodeSource().getLocation();
|
||||
String locationS = location.toString();
|
||||
if (location.getProtocol().equals("file")) {
|
||||
|
||||
Reference in new issue
Block a user