You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2020/06/05 08:11:00 UTC

[jira] [Resolved] (HDDS-3716) Compile of Ozone fails with JDK 11+

     [ https://issues.apache.org/jira/browse/HDDS-3716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Elek resolved HDDS-3716.
-------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

> Compile of Ozone fails with JDK 11+
> -----------------------------------
>
>                 Key: HDDS-3716
>                 URL: https://issues.apache.org/jira/browse/HDDS-3716
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.6.0
>
>
> @PostConstruct annotation is removed from JDK (it's Java EE) in the recent JDKs.
> It's used by the Configuration annotation but we don't need to use Java EE annotations:
> {code:java}
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-hdds-config: Compilation failure: Compilation failure: 
> [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[20,24] cannot find symbol
> [ERROR]  symbol:  class PostConstruct
> [ERROR]  location: package javax.annotation
> [ERROR] /Users/sbanerjee/ozone_fork/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java:[139,38] cannot find symbol
> [ERROR]  symbol:  class PostConstruct
> {code}
>  
> Thanks  Shashikant for the bug report.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org