com.sun.tracing.ProviderFactory.createProvider doesn't throw IllegalArgumentException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: core-svc
    • b78
    • generic
    • generic
    • Verified

      test/com/sun/tracing/BasicFunctionality.java fails.

      Nov 10, 2009 2:06:41 PM sun.tracing.dtrace.DTraceProviderFactory createProvider
      WARNING: Could not initialize tracing provider: Return value of method is not void
      java.lang.Exception: Factory.createProvider: Should error with non-void probes
             at BasicFunctionality.fail(BasicFunctionality.java:64)
             at BasicFunctionality.testProviderFactory(BasicFunctionality.java:81)
             at BasicFunctionality.main(BasicFunctionality.java:58)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      com.sun.tracing.ProviderFactory.createProvider is expected to throw IllegalArgumentException if the given provider is invalid but it doesn't.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: