dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

[smoke tests] New basic test for java module system

Open robertomonteromiguel opened this issue 3 years ago • 1 comments

What Does This Do

New test to check java module system.

Motivation

We need to detect java module system failures

Additional Notes

This test is adopted from jdk regression tests. Check: http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/f8b19df2115a/test/java/lang/ModuleTests/BasicModuleTest.java

robertomonteromiguel avatar Sep 29 '22 14:09 robertomonteromiguel

  • I think the smoke tests didn't fail. Is the bug fixed?
  • Findbug is failing. I am using forgiven API for my test. I don't know if this check is necessary for smoke tests ¿?
  • Other checks are failing, but I think there are not related with the new test Findbug failure: Caused by: de.thetaphi.forbiddenapis.ForbiddenApiException: Check for forbidden API calls failed while scanning class 'datadog.smoketest.moduleapp.ModuleApplication' (ModuleApplication.java): java.lang.ClassNotFoundException: java.lang.Module (while looking up details about referenced class 'java.lang.Module')

robertomonteromiguel avatar Sep 30 '22 09:09 robertomonteromiguel