Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-582

Support for Java 1.5 (needed for WebSphere 6.1)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.1.1
    • Core
    • None

    Description

      I would be nice, if OWB supports Java 1.5, e. g. to run with WebSphere 6.1.
      It can be implemented with low effort.

      There is one basic dependency to Java 1.6: java.util.ServiceLoader
      To solve this problem, I've added a utility class in my local copy and delegate calls to ServiceLoader to this utility.

      The utility class itself calls ServiceLoader, if the class is available (Java 1.6) or uses com.googlecode.bspi.ServiceLoader (Java 1.5).
      So the application needs one new dependency (only in the case of Java 1.5).

      I've also changed the maven-compiler-plugin to generate Java 1.5 compatible byte code.

      Attachments

        1. OWB-582_maven_config.patch
          0.5 kB
          Gerhard Petracek
        2. OWB-582_pluggable_service_loader_and_java5_support.patch
          22 kB
          Gerhard Petracek
        3. OWB-582.patch
          10 kB
          Udo Schnurpfeil

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              lofwyr Udo Schnurpfeil
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: