prestodb/presto

Exclude module-info.class from byte code checks

Open

#22,193 opened on Mar 13, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (5,240 forks)batch import
buildcleanupgood first issue

Repository metrics

Stars
 (15,558 stars)
PR merge metrics
 (Avg merge 34d 14h) (120 merged PRs in 30d)

Description

The build is full of these warnings:

[WARNING] Invalid bytecodeVersion for module-info.class: expected 52, but was 53

This is not a surprise. module-info.class is something for java 9+ (byte code 53) while most of the build is Java 8 (byte code version 52).

This isn't a big deal since Java 8 will ignore module-info.class. There's no real problem here, but if anyone happens to know a straight-forward way to suppress these particular warnings that would be nice.

Contributor guide