You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2013/01/13 00:58:12 UTC

[jira] [Comment Edited] (UIMA-2565) uimaj-core doesn't build on JDK 7

    [ https://issues.apache.org/jira/browse/UIMA-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552095#comment-13552095 ] 

Richard Eckart de Castilho edited comment on UIMA-2565 at 1/12/13 11:57 PM:
----------------------------------------------------------------------------

Renamed Jenkins job so that the workspace path contains no spaces anymore. Now the JavaDoc works as well.

Next problem is a test failure:

{noformat}
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.apache.uima.util.impl.JSR47Logger_implTest.testLogWrapperCreation(JSR47Logger_implTest.java:60)
---
60:     Assert.assertTrue(uimaLogger.isLoggable(Level.INFO));
{noformat}

Can't reproduce that failure locally in Eclipse nor on the command line under OS X with:

{noformat}
Java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
{noformat}

                
      was (Author: eckart):
    Renamed Jenkins job so that the workspace path contains no spaces anymore. Now the JavaDoc works as well.

Next problem is a test failure:

{noformat}
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.apache.uima.util.impl.JSR47Logger_implTest.testLogWrapperCreation(JSR47Logger_implTest.java:60)
---
60:     Assert.assertTrue(uimaLogger.isLoggable(Level.INFO));
{noformat}

Can't reproduce that locally in Eclipse.
                  
> uimaj-core doesn't build on JDK 7
> ---------------------------------
>
>                 Key: UIMA-2565
>                 URL: https://issues.apache.org/jira/browse/UIMA-2565
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.4.0SDK
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: 2.4.1SDK
>
>
> uimaj-core doesn't build on JDK 7. It looks like inner classes are preferred over imported classes in JDK 7, hence there are errors when the type *Type* is used in subclasses of AWT Window which contains *Window.Type*.
> Aparrently, Tomasso has set up a UIMA build with JDK 7 on Jenkins which reproduces this problem. I couldn't find any issue about it though.
> Is there any particular reason why this has not been fixed yet?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira