Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3239

drop java 5 "support"



    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
    • Lucene Fields:
      New, Patch Available


      its been discussed here and there, but I think we need to drop java 5 "support", for these reasons:

      • its totally untested by any continual build process. Testing java5 only when there is a release candidate ready is not enough. If we are to claim "support" then we need a hudson actually running the tests with java 5.
      • its now unmaintained, so bugs have to either be hacked around, tests disabled, warnings placed, but some things simply cannot be fixed... we cannot actually "support" something that is no longer maintained: we do find JRE bugs (http://wiki.apache.org/lucene-java/SunJavaBugs) and its important that bugs actually get fixed: cannot do everything with hacks.
      • because of its limitations, we do things like allow 20% slower grouping speed. I find it hard to believe we are sacrificing performance for this.

      So, in summary: because we don't test it at all, because its buggy and unmaintained, and because we are sacrificing performance, I think we need to cutover the build system for the next release to require java 6.


        1. LUCENE-3239.patch
          15 kB
          Simon Willnauer
        2. LUCENE-3239.patch
          13 kB
          Simon Willnauer

          Issue Links



              • Assignee:
                simonw Simon Willnauer
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                0 Start watching this issue


                • Created: