Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1685

LegacyGlobalConfigurationAdaptor.adapt(org.infinispan.config.GlobalConfiguration) does not adapt boolean properties correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.1.0.CR3
    • 5.1.0.CR2
    • Configuration
    • None

      e.g.

      org.infinispan.config.GlobalConfiguration legacy = new org.infinispan.config.GlobalConfiguration();
      legacy.fluent().globalJmxStatistics().enable();

      GlobalConfiguration config = new LegacyGlobalConfigurationAdaptor().adapt(legacy);
      assert config.globalJmxStatistics().enabled(); // This assertion fails!

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: