3 Replies Latest reply on Aug 26, 2009 5:09 PM by rhauch

    JBoss DNA and JDK 1.6

    rhauch

      We're making good progress on the query and search functionality, and hope to have a large portion of the functionality committed to the trunk very soon.

      In the meantime, I'd like to open the discussion of whether we can/should move to requiring JDK 1.6 for JBoss DNA. Please state your thoughts, whether you're a user or a contributor.

      The original ideas were to stick with JDK 1.5 until it was end-of-lifed, hoping to maximize the number of environments in which JBoss DNA could be used. However, J2SE 5.0 (and JDK 5.0) is already in its end of life transition, and is slated for its end-of-life to be completed on October 30, 2009 [1].

      Given our timeframe, I'm not sure its that useful to stay with JDK 1.5. We hope to have 0.6 out well before October 30 (ideally mid-September), with the release being feature-driven by query/search support. The 1.0 release should follow soon after, with TCK compliance being the primary driver. In fact, if we continue to make steady progress on TCK compliance, the 1.0 release could actually be a short release and could very ready even as early the first part of October. All in all, we're pretty close to the JDK 5.0 EOL.

      Of course, we could stay on JDK 1.5 to ensure we support this version of Java, but could also test our releases against JDK 1.6.

      What are your thoughts on either keeping on JDK 5 or switching to JDK 6. If you think its beneficial to stay on JDK 5, when do you think we could/should switch?

      [1] http://java.sun.com/javase/downloads/index_jdk5.jsp

        • 1. Re: JBoss DNA and JDK 1.6
          bcarothers

          I've been developing with JDK 1.6 for months (as the occasional broken build will attest). I'm ready/willing to officially move to 1.6 ASAP.

          I am sure that there will be people who stick with JDK 1.5 after it is EOL'ed, but practically speaking, the majority of potential users should be on 1.6 already.

          • 2. Re: JBoss DNA and JDK 1.6
            rhauch

            How about we change to use JDK 1.6, but keep the target compatibility mode set to 1.5 to allow for those users still on 1.5 to use JBoss DNA? I've created a JIRA issue to track this change: https://jira.jboss.org/jira/browse/DNA-506

            • 3. Re: JBoss DNA and JDK 1.6
              rhauch

              Alright, I didn't realize this, but the source and target options must match for 1.5 and above.

              I still like the idea of having our code be compatible with 1.5, just so that more people and projects can use JBoss DNA. Thoughts?