RequestForComments/Feedback - RAT-273: Due to JDK changes test expectations had to be changed when building against newer JDKs#57
RequestForComments/Feedback - RAT-273: Due to JDK changes test expectations had to be changed when building against newer JDKs#57
Conversation
|
@jochenw can you help out with the problems in RatCheckMojoTest? I experimented with adding argLine arguments to maven-surefire/failsafe plugin but am unable to get it running locally with JDK18. Maybe you know a workaround. Thanks |
|
@ottlinger Glad to help, if you let me know, how to reproduce the issue. For now, I'll assume that I only need to use Java 17. |
|
@jochenw if you apply the attached patch to the branch you'll see the RatCheckMojoTest failures ..... with JDK17 and 18. Apart from that there seems to be a javadoc issue, but any help is greatly appreciated : In the patch I tried to add argument parameters that should fix the error, but maybe you have a solution that is within the code itself. |
|
Will create new tickets once the problems arise. |
LineNumberReader behaves differently in newer JDKs, thus test expectations read more lines as a line ending is treated differently than in JDK8.
see details in https://issues.apache.org/jira/browse/RAT-273