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

Aditya Dhulipala commented on OODT-823:
---------------------------------------

I was going through the code associated with this and would up reading up 
(partially) on these modules:-

oodt.resource.java......
XmlStructFactory
XmlQueueRepository
QueueManager
...

Within QueueManager I found that it was internally being represented using a 
HashMap. I think there is something in JDK8 that causes this to reverse the 
order of the queue and causes the failure above, i.e. 
AssertionFailedError: expected:<[test-queue-1, quick]> but was:<[quick, 
test-queue-1]> at at 
org.apache.oodt.cas.resource.queuerepo.TestXmlQueueRepository.testMapping(TestXmlQueueRepository.java:64)

I changed the HashMap to a LinkedHashMap and it worked fine.

But, now there is again another error within the next module -- CAS PGE Adapter 
Framework. I'm debugging that now..

P.S. Even if all this won't get accepted into the patch, I think all this info 
may be useful eventually when providing support for JDK8. So I'll continue to 
document and report my progress here.


> OODT JDK8 Maven3 build errors
> -----------------------------
>
>                 Key: OODT-823
>                 URL: https://issues.apache.org/jira/browse/OODT-823
>             Project: OODT
>          Issue Type: Bug
>          Components: build proces
>    Affects Versions: 0.8
>         Environment: OS X Yosemite. maven 3 with JDK8
>            Reporter: Aditya Dhulipala
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>              Labels: beginner, build, maven
>             Fix For: 0.9
>
>
> OODT build fails when using maven 3 with jdk8. Specifically while generating 
> javadocs (the javadoc compiler that ships with JDK8 throws errors if the 
> javadoc does not conform to the format prescribed for javadocs under jdk8)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to