RFR: 1236: Add jcheck option to check for large binary files

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Dec 1 14:19:26 UTC 2021


Unfortunately the current jcheck model does not support that at all. :-( 
So that'd mean that a general "warning" functionality needs to be 
developed first. Which, as I said, I'm all in favor for, but it needs to 
be done...

/Magnus

On 2021-12-01 15:16, Erik Joelsson wrote:
> On Wed, 1 Dec 2021 14:01:54 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>
>> In a separate, but related note, I'd really like to let jcheck have some kind of "warnings", information that is not strictly blockers, but signals that you should make sure you really intend to do what you're doing. If we had that, then we could have a (generous) upper bound for binary sizes where jcheck makes it an error, and a much lower bound for which jcheck warns you that you perhaps should reconsider.
> Having two levels, warn and error, is a good idea. I'm not sure how well the current jcheck model fits with that, but if it does, I'm all for that. Then we would need two parameters for configuration. One to trigger warning and one to trigger error.
>
> -------------
>
> PR: https://git.openjdk.java.net/skara/pull/1247



More information about the skara-dev mailing list