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

Use of undocumented fields with setAccessible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • CORBA, JVM-compatibility
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: