[forge-issues] [JBoss JIRA] (FORGE-2019) Compilation errors in JDK 1.8.0_20+
George Gastaldi (JIRA)
issues at jboss.org
Wed Dec 17 15:54:29 EST 2014
[ https://issues.jboss.org/browse/FORGE-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028460#comment-13028460 ]
George Gastaldi commented on FORGE-2019:
----------------------------------------
The workaround is to avoid implementing the marker interface {{Service}} on classes that do not expose an API interface.
- This is OK: {{FacetFactoryImpl implements FacetFactory, Service}}
- This is not: {{Highlighter implements Service}}
> Compilation errors in JDK 1.8.0_20+
> -----------------------------------
>
> Key: FORGE-2019
> URL: https://issues.jboss.org/browse/FORGE-2019
> Project: Forge
> Issue Type: Enhancement
> Components: Forge Build
> Affects Versions: 2.10.1.Final
> Environment: Fedora 20
> java version "1.8.0_20"
> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
> Reporter: George Gastaldi
> Fix For: 2.x Future
>
>
> {code}
> [ERROR] /usr/local/workspace/forge-core-2.0/shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java:[89,27] cannot access org.jboss.forge.furnace.container.simple.Service
> class file for org.jboss.forge.furnace.container.simple.Service not found
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project javaee-impl: Compilation failure
> [ERROR] /usr/local/workspace/forge-core-2.0/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java:[42,65] cannot access org.jboss.forge.furnace.container.simple.Service
> [ERROR] class file for org.jboss.forge.furnace.container.simple.Service not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the forge-issues
mailing list