Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-670

Use of undocumented fields with setAccessible

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: CORBA, JVM-compatibility
    • Labels:
      None

      Description

      The classes below use setAccessible to access internal state of VM classes. This is likely to lead to non-portable behaviour between JVMs and requires dangerous permissions be granted to the server. Other ways of handling this should be found.

      ./modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/FinalFieldSetterJdk14.java
      ./modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/GetField.java
      ./modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/PutField.java
      ./modules/interop/src/java/org/apache/geronimo/interop/rmi/iiop/ValueType.java
      ./modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationClassLoader.java
      ./modules/system/src/java/org/apache/geronimo/system/main/ToolsJarHack.java
      ./modules/system/src/java/org/apache/geronimo/system/url/GeronimoURLFactory.java

        Attachments

          Activity

            People

            • Assignee:
              dain Dain Sundstrom
              Reporter:
              jboynes Jeremy Boynes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: