Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13781

Enable RichFaces to be built with the jdk6

    Details

      Description

      RF-4.5 is compliment to JDK7 while WFK-2.7 must be compliment to JDK6.

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                pslegr Pavel Slegr
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Time Spent - 30 minutes Remaining Estimate - 2 hours, 30 minutes
                  2h 30m
                  Logged:
                  Time Spent - 30 minutes Remaining Estimate - 2 hours, 30 minutes
                  30m