COBCH1755 type-name cannot be addressed from current namespace namespace-name

The program contains an internal type in a given namespace (or package name) that is referenced by other types in a different namespace. This is not allowed when compiling for JVM. An internal type can only be referenced by other types in that same namespace.

Resolution:

Modify the code to correct the type and namespace references as required; then recompile.

Example:

The following example shows an internal type, Package 2.B, referenced by a type in a different namespace:

       class-id package1.A.
       method-id main static.
           invoke type package2.B::Meth1
       end method.
       end class.
       class-id package2.B internal.
       method-id Meth1 static.
       end method.
       end class.