On 28/04/2020 15:26, Christopher Schultz wrote:
> All,
>
> I'm running Eclipse 2020-03 (4.15.0) on MacOS and I'm getting a build
> failure in
> org.apache.catalina.mbeans.JmxRemoteLifecycleListener.JmxRegistry
> because of the use of sun.rmi.registry.RegistryImpl.
>
> There is an attempt to suppress this for the class:
>
> @SuppressWarnings("restriction")
> private static class JmxRegistry extends
> sun.rmi.registry.RegistryImpl {
>
>
> Is the problem that I have my workspace configured to make uses
> internal-API into *errors* (instead of *warnings*, and you cannot
> suppress an error (only a warning)?
Don't know. Seems like a reasonable guess.
It does appear to depend on the Java version configured as well.
@SuppressWarnings are set on the assumption Java 8 (the minimum Java
version for that version of Tomcat) is being used.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]