Hi Michael,

When I was debugging my compile issue I added this to the pom.xml in the tck 
module:
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <showWarnings>true</showWarnings>
                    <fork>true</fork>
                    <compilerArgument>-Xlint:unchecked</compilerArgument>
                </configuration>
            </plugin>

I believe that the compilerArgument enables all of these warnings to be shown.
[INFO] 
/Users/clr/apache/git/db-jdo/tck/src/main/java/org/apache/jdo/tck/JDO_Test.java:
 Some input files use unchecked or unsafe operations.
[INFO] 
/Users/clr/apache/git/db-jdo/tck/src/main/java/org/apache/jdo/tck/JDO_Test.java:
 Recompile with -Xlint:unchecked for details.
[
I'll make a new branch with the warnings enabled and take it from there.

Thanks for your help on this,
Craig

> On Jun 27, 2022, at 13:41, Michael Bouschen <m...@apache.org> wrote:
> 
> Hi Craig,
> 
> what do I need to do to see these warnings?
> 
> I do not get the warnings, neither with Java 8 (OpenJDK Runtime Environment 
> (Zulu 8.42.0.23-CA-macosx) (build 1.8.0_232-b18)) nor with Java 11 (OpenJDK 
> Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS)).
> 
> I agree we should fix these, but it would be good to see them.
> 
> Regards Michael
> 
> 
> 

Craig L Russell
c...@apache.org

Reply via email to