RFR: 8354919: Move HotSpot .editorconfig into the global .editorconfig
Chen Liang
liach at openjdk.org
Sun Apr 20 23:49:44 UTC 2025
On Thu, 17 Apr 2025 07:28:03 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> The src/hotspot directory should ideally only be used for HotSpot source files, and we should avoid polluting it with an .editorconfig. A cleaner solution exists since we can just specify the desired code formatting for HotSpot as an override in the root .editorconfig
I think the original hotspot location may be fine - each subject area has its own styles. For example, in jdk.hotspot.agent, even c and java source files have indentation of 2 spaces, unlike those in java.base.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24714#issuecomment-2817392684
More information about the hotspot-dev
mailing list