diff --git a/.ci/check-api-changes.sh b/.ci/check-api-changes.sh index 2b01bfb74a..d79841d4e5 100755 --- a/.ci/check-api-changes.sh +++ b/.ci/check-api-changes.sh @@ -44,10 +44,12 @@ $newAbstracts EOF ` -#Get a list of any methods that expose classes in .internal. namespaces, and any classes which extend/implement -#an internal class +# Get a list of any methods that expose internal classes, which includes: +# - classes in .internal. namespaces (excluding the kotlin.jvm.internal namespace) +# - classes which extend/implement an internal class (see above) +# - classes in the net.corda.node. namespace #TODO: check that only classes in a whitelist are part of the API rather than look for specific invalid cases going forward -newInternalExposures=$(echo "$userDiffContents" | grep "^+" | grep "\.internal\." ) +newInternalExposures=$(echo "$userDiffContents" | grep "^+" | grep "(?