Community
Participate
Working Groups
Class org.eclipse.e4.core.commands.internal.HandlerServiceImpl is using restricted API org.eclipse.e4.core.services.log.Logger, which raises build warnings. The bundle org.eclipse.e4.core.commands should be added to x-friends of the exported package. 22:41:06 [INFO] --- tycho-compiler-plugin:2.0.0:compile (default-compile) @ org.eclipse.e4.core.commands --- 22:41:06 [INFO] Compiling 11 source files to /home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/bundles/org.eclipse.e4.core.commands/target/classes 22:41:06 [WARNING] /home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java:[37] 22:41:06 import org.eclipse.e4.core.services.log.Logger; 22:41:06 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22:41:06 Discouraged access: The type 'Logger' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/.repository/p2/osgi/bundle/org.eclipse.e4.core.services/2.2.500.v20200922-2207/org.eclipse.e4.core.services-2.2.500.v20200922-2207.jar') 22:41:06 [WARNING] /home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java:[154] 22:41:06 Logger logger; 22:41:06 ^^^^^^ 22:41:06 Discouraged access: The type 'Logger' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/.repository/p2/osgi/bundle/org.eclipse.e4.core.services/2.2.500.v20200922-2207/org.eclipse.e4.core.services-2.2.500.v20200922-2207.jar') 22:41:06 [WARNING] /home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/internal/HandlerServiceImpl.java:[200] 22:41:06 logger.error((Throwable) obj, "Command '" + command.getId() + "' failed"); //$NON-NLS-1$ //$NON-NLS-2$ 22:41:06 ^^^^^ 22:41:06 Discouraged access: The method 'Logger.error(Throwable, String)' is not API (restriction on classpath entry '/home/jenkins/agent/workspace/eclipse.platform.ui-Gerrit/.repository/p2/osgi/bundle/org.eclipse.e4.core.services/2.2.500.v20200922-2207/org.eclipse.e4.core.services-2.2.500.v20200922-2207.jar') 22:41:06 3 problems (3 warnings)
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.runtime/+/169997
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.runtime/+/169997 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=9a20c3084e60ad5075541d87f6e0ffcd1faa89bf