[richfaces-issues] [JBoss JIRA] (RF-13781) RF-4.5 compliment to JDK7 while WFK-2.7 must be compliment to JDK6

Pavel Slegr (JIRA) issues at jboss.org
Fri Aug 15 03:10:29 EDT 2014


Pavel Slegr created RF-13781:
--------------------------------

             Summary: RF-4.5 compliment to JDK7 while WFK-2.7 must be compliment to JDK6
                 Key: RF-13781
                 URL: https://issues.jboss.org/browse/RF-13781
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: build/distribution
    Affects Versions: 4.5.0.Alpha3
            Reporter: Pavel Slegr
            Priority: Critical
             Fix For: 4.5.0.Beta1


while building on RF-4.5 I found out there are used JDK7 features
for example here: https://github.com/richfaces/richfaces/blob/master/core/src/main/java/org/richfaces/context/AjaxOutputTracker.java#L82
(diamond operator)
RichFaces-4.5 are not able to build with JDK6, while as one of the components of WFK-27
we would need to build them with JDK6
WFK-2.7 will be based on EAP-6.3.0 which is based on JDK6 as well
There are 2 possible solutions
1. We will go over the upstream code and remove all the JDK7 related code, which I have no idea, how much this would be.
2. We will make it in productization branch only, which is not very wise due to future maintenance of WFK-27 and RF-45 following and
is exactly the opposite way we try to accomplish (get the product & upstream close as much as possible)
Please note, I am not able to crosscompile from 1.7 source into 1.6 target bytecode... this is not allowed
(http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html)

cloned from https://issues.jboss.org/browse/WFK2-735



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the richfaces-issues mailing list