Skip to content

Commit 760d97a

Browse files
committed
QDH
1 parent 87d00d0 commit 760d97a

File tree

1 file changed

+1
-0
lines changed
  • spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools

1 file changed

+1
-0
lines changed

spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/Repackager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ private Manifest buildManifest(JarFile source) throws IOException {
248248
}
249249
else if (startClass != null) {
250250
manifest.getMainAttributes().putValue(MAIN_CLASS_ATTRIBUTE, startClass);
251+
manifest.getMainAttributes().putValue(START_CLASS_ATTRIBUTE, startClass);
251252
}
252253
String bootVersion = getClass().getPackage().getImplementationVersion();
253254
manifest.getMainAttributes().putValue(BOOT_VERSION_ATTRIBUTE, bootVersion);

0 commit comments

Comments
 (0)