Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-361

Building classpath 0.96.1 or below with --disable-gconf-peer does not choose a different peer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Lowest
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.2, 2.9.1, 2.9.0.1, 2.9.0
    • Fix Version/s: None
    • Component/s: Infrastructure: Build
    • Labels:
      None

      Description

      There's a bug in Classpath (fixed in CVS) which means that if it is configured with --disable-gconf-peer, the gconf peer is still the default preferences peer.
      As a result, it fails if code tries to initialise the preferences factory as it is unable to find libgconfpeer.

      public class TestGConf
      {
      public static void main(String[] args)

      { System.out.println(java.util.prefs.Preferences.userRoot()); }

      }

      The solution is to also add the --enable-default-preferences-peer=file into build.xml until a more recent Classpath is available and in use.
      Additionally, disabling gconf should be an option not a static part of the build.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            gnu_andrew Andrew John Hughes added a comment -

            Testcase

            Show
            gnu_andrew Andrew John Hughes added a comment - Testcase
            Hide
            gnu_andrew Andrew John Hughes added a comment -

            This is irrelevant now we are using 0.97.

            Show
            gnu_andrew Andrew John Hughes added a comment - This is irrelevant now we are using 0.97.
            Hide
            gnu_andrew Andrew John Hughes added a comment -

            It is of course still relevant to versions that ship with 0.96. If there are any, maybe they could be patched?

            Show
            gnu_andrew Andrew John Hughes added a comment - It is of course still relevant to versions that ship with 0.96. If there are any, maybe they could be patched?

              People

              • Assignee:
                gnu_andrew Andrew John Hughes
                Reporter:
                gnu_andrew Andrew John Hughes
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: