spring-boot/spring-boot-project
Andy Wilkinson e4e1958b65 Make Logback fall back to JVM's default charset
The charset "default" is an alias for US-ASCII, not the JVM's default
charset. This commit updates the built-in Logback configuration to
use Charset.defaultCharset().name() in place of "default" in the
Java-based configuration. In the XML-based configuration where
Charset.defaultCharset().name() cannot be called, we emulate its
behaviour [1] by using the file.encoding system property, falling back
to UTF-8 when it's not set.

Fixes gh-27230

[1] 19be6113dd/jdk/src/share/classes/java/nio/charset/Charset.java (L604-L617)
2021-10-29 14:40:05 +01:00
..
spring-boot Make Logback fall back to JVM's default charset 2021-10-29 14:40:05 +01:00
spring-boot-actuator Polish 2021-10-22 15:11:57 +01:00
spring-boot-actuator-autoconfigure Polish "Don't use markdown syntax in javadoc or error messages" 2021-10-22 10:08:27 +01:00
spring-boot-autoconfigure Align test for spring.data.mongodb.autoIndexCreation with new default 2021-10-29 11:23:35 +01:00
spring-boot-cli Update copyright year of changed files 2021-06-23 21:01:45 -07:00
spring-boot-dependencies Upgrade to Spring Session 2020.0.7 2021-10-21 09:00:26 +02:00
spring-boot-devtools Stabilize liveReloadOnClassPathChanged() 2021-10-22 15:47:51 +01:00
spring-boot-docs Polish "Fix description of "logging.logback.rollingpolicy.max-history"" 2021-10-28 11:50:38 +02:00
spring-boot-parent Upgrade to Testcontainers 1.16.1 2021-10-28 13:06:41 +01:00
spring-boot-properties-migrator Merge branch '2.3.x' into 2.4.x 2021-02-02 15:12:27 +00:00
spring-boot-starters Restore 'javax.xml.bind:jaxb-api' exclusion 2021-10-14 17:38:05 -07:00
spring-boot-test Upgrade to Spring Java Format 0.0.29 2021-10-06 09:52:45 +01:00
spring-boot-test-autoconfigure Update copyright year of changed files 2021-10-13 18:45:38 -07:00
spring-boot-tools Harmonize line endings 2021-10-28 15:22:57 +02:00