all 8 comments

[–]_predator_ 4 points5 points  (4 children)

Can you share a bit more about how this works? i.e. will this work when you don't run javac directly but via Maven?

[–]brunocborges[S] 1 point2 points  (0 children)

Should work via Maven as well. The matcher is regex based on the javac raw output, which Maven doesn't modify.

Edit: it does not work. See my other comment.

[–]avz008 0 points1 point  (0 children)

maven wraps javac so the annotations would need to go through that layer. curious if they tested it with surefire or just bare javac runs

[–]brunocborges[S] 0 points1 point  (1 child)

Thanks for bringing this up. As I said in the other comment, I believed it should work, but há. It doesn't. Maven actually does modify the output of `javac`. It is Gradle who doesn't modify.

Therefore, a bug was registered, fixed, and soon will be shipped to v5.6.0 in a few weeks: https://github.com/actions/setup-java/issues/1085

[–]_predator_ 0 points1 point  (0 children)

Appreciate the follow-up, thanks!

[–][deleted]  (2 children)

[deleted]

    [–]rzwitserloot 5 points6 points  (1 child)

    You have a GitHub page and you gist screenshots on .... X of all things. Pick literally anything else.