Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3853

Compilation failure on IBM Java 8 beta 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.1.0uimaFIT
    • uimaFIT
    • None

    Description

      found that using IBM Java 8 beta 3, the build from source failed (not in the
      javadocs).
      using Oracle Java 8 or IBM Java 7 - build from source is ok.

      IBM Java 8 reports this error

      [ERROR] Failed to execute goal
      org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
      project uimafit-core: Compilation failure
      [ERROR]
      /C:/au/t/uimafit-2.1.0/uimafit-2.1.0-bfs/uimafit-core/src/main/java/org/apache/uima/fit/internal/ReflectionUtil.java:[145,16]
      cannot find symbol
      [ERROR] symbol: method isAnnotationPresent(java.lang.Class<capture#1 of ?
      extends java.lang.annotation.Annotation>)
      [ERROR] location: variable aObject of type java.lang.reflect.AccessibleObject

      This may be related to https://issues.apache.org/jira/browse/LUCENE-4808

      Probably not a blocker, but investigation may show some easy work-around.

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            rec Richard Eckart de Castilho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: