1. River
  2. RIVER-336

Jini should support platforms other than those with RMIClassLoader as the classloading control point. IDEs inparticular need help.


    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: River_2.2.0
    • Fix Version/s: None
    • Component/s: net_jini_loader
    • Labels:


      The RMIClassLoader class and RMIClassLoaderSPI is currently the control point for managing the "platform" view of how classes are loaded. In IDEs and other different environments, the "parent" classloader view, is not always the "system class loader". There are some other variations on class loading that seem to indicate that while RMIClassLoaderSPI can be plugged into, it doesn't always provide quite the right facilities because even plugging into the system class loader to override it might not be possible.

      The diffs included here show some preliminary work that I did investigating this issue to try and make it possible to discover and load Jini servers within the netbeans IDE.

      Refinement and some rework will be needed, and some other investigation into other platforms such as JEE and other IDEs would be helpful in making sure we understand what is really needed. Even OSGi would be something to look at.

      1. rmicl.diff.txt
        69 kB
        Gregg Wonderly
      2. Greggs_Mods.patch
        42 kB
        Peter Firmstone
      3. PreferredClassProvider.java.rej
        2 kB
        Peter Firmstone
      4. Greggs_Mods-with-some-minor-changes.patch
        42 kB
        Peter Firmstone
      5. PreferredClassProvider.java
        61 kB
        Gregg Wonderly
      6. CBAClassLoaderBUILD.patch
        0.9 kB
        Peter Firmstone
      7. CBAClassLoaderQA.patch
        117 kB
        Peter Firmstone
      8. CBAClassLoaderSRC_dir.patch
        41 kB
        Peter Firmstone

        Issue Links


          Gregg Wonderly created issue -
          Gregg Wonderly made changes -
          Field Original Value New Value
          Attachment rmicl.diff.txt [ 12440104 ]
          Peter Firmstone made changes -
          Attachment Greggs_Mods.patch [ 12440451 ]
          Attachment PreferredClassProvider.java.rej [ 12440452 ]
          Peter Firmstone made changes -
          Gregg Wonderly made changes -
          Attachment PreferredClassProvider.java [ 12440576 ]
          Peter Firmstone made changes -
          Link This issue is related to RIVER-362 [ RIVER-362 ]
          Peter Firmstone made changes -
          Attachment CBAClassLoaderBUILD.patch [ 12540560 ]
          Attachment CBAClassLoaderQA.patch [ 12540561 ]
          Attachment CBAClassLoaderSRC_dir.patch [ 12540562 ]
          Simon IJskes made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]


            • Assignee:
              Gregg Wonderly
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: