Given the below java code, the formatting output is not hermetic, i.e the output changes on subsequent run * Initial Java Class ``` package com.test; @Application() @Configuration(exclude = {SomeVeryVeryVeryVeryVeryVeryLongClassName.class}) // abcde abcedfg ab abcdefghijklm abcd abc abcd abcd abcdef abcdefghij abc abc ab ab abcdefghij public class TestClass {} ``` * After first formatting run ``` package com.test; @Application() @Configuration( exclude = { SomeVeryVeryVeryVeryVeryVeryLongClassName.class }) // abcde abcedfg ab abcdefghijklm abcd abc abcd abcd abcdef abcdefghij abc abc ab ab // abcdefghij public class TestClass {} ``` * After second formatting run ``` package com.test; @Application() @Configuration( exclude = { SomeVeryVeryVeryVeryVeryVeryLongClassName.class }) // abcde abcedfg ab abcdefghijklm abcd abc abcd abcd abcdef abcdefghij abc abc ab ab // abcdefghij public class TestClass {} ``` the comment part of `// abcdefghij` is moved to column 0 This issue happens when GJF is run with or without `--skip-reflowing-long-strings` flag.
Activity
cushon commentedon Mar 14, 2025
#211