IBM Dependency Based Build (DBB)

Expand all | Collapse all

After upgrade to DBB 2.0.2 I started getting warning messages

  • 1.  After upgrade to DBB 2.0.2 I started getting warning messages

    Posted Mon September 16, 2024 11:02 AM
    After upgrade to DBB 2.0.2 I started getting warning messages related to pathMatchers. Is there a newer method that I should be using for exclude logic?
    19:53:17
    WARNING: An illegal reflective access operation has occurred 19:53:17 WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 (file:/rsusr/idz/dbb/groovy/lib/groovy-4.0.15.jar) to method sun.nio.fs.UnixFileSystem.getPathMatcher(java.lang.String) 19:53:17 WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v9.Java9 19:53:17 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 19:53:17 WARNING: All illegal access operations will be denied in a future release


    ------------------------------
    Paul Kenney
    ------------------------------


  • 2.  RE: After upgrade to DBB 2.0.2 I started getting warning messages

    Posted Mon September 16, 2024 12:06 PM

    Hi Paul,

    this is a warning that is written to the output when using this version of groovy and JAVA 11 or later. It does not impact the functionality of DBB. 

    You can suppress it by setting the below environment variables in your profile.

    # Supress "An illegal reflective access operation" msg

    export JAVA_OPTS="$JAVA_OPTS --illegal-access=deny"



    ------------------------------
    Dennis Behm
    ------------------------------