Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6902678

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7
    • 7
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: