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

javax/management/loading/LibraryLoader/LibraryLoaderTest.java is failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: tb29552 Date: 01/29/2004


      javax/management/loading/LibraryLoader/LibraryLoaderTest.java is failing
      on Linux/x86 and Linux/amd64

      #Test Results (version 2)
      #Thu Jan 29 09:51:11 PST 2004
      #checksum:4aec579b09b0c5ba
      #-----testdescription-----
      $file=/hm/users/tbell/service_int/test/javax/management/loading/LibraryLoader/LibraryLoaderTest.java
      $root=/hm/users/tbell/service_int/test
      author=Luis-Miguel Alventosa
      keywords=bug4969756
      run=USER_SPECIFIED clean LibraryLoaderTest\nUSER_SPECIFIED build
      LibraryLoaderTest\nUSER_SPECIFIED main LibraryLoaderTest\n
      source=LibraryLoaderTest.java
      title=Test that the same native library coming from the same jar file can be
      loaded twice by two different MLets on the same JVM without conflict.

      #-----environment-----

      #-----testresult-----
      description=file:///hm/users/tbell/service_int/test/javax/management/loading/LibraryLoader/LibraryLoaderTest.java
      end=Thu Jan 29 09:51:11 PST 2004
      environment=regtest
      execStatus=Failed. Unexpected exit from test [exit code: 1]
      javatestOS=Linux 2.4.9-e.3 (i386)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages clean build compile build main
      start=Thu Jan 29 09:51:09 PST 2004
      status=Failed. Unexpected exit from test [exit code: 1]
      test=javax/management/loading/LibraryLoader/LibraryLoaderTest.java
      work=/hm/users/tbell/service_int/test/JTwork/javax/management/loading/LibraryLoader

      #section:script_messages
      ----------messages:(4/239)----------
      JDK under test: (/hm/users/tbell/d/control/build/linux-i586)
      java version "1.5.0-tbell"
      Java(TM) 2 Runtime Environment, Standard Edition (build
      1.5.0-tbell-2004_01_29.08-23-55)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      #section:clean
      ----------messages:(3/122)----------
      command: clean LibraryLoaderTest
      reason: User specified action: run clean LibraryLoaderTest
      elapsed time (seconds): 0.0
      result: Passed. Clean successful

      #section:build
      ----------messages:(3/124)----------
      command: build LibraryLoaderTest
      reason: User specified action: run build LibraryLoaderTest
      elapsed time (seconds): 0.658
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/193)----------
      command: compile
      /hm/users/tbell/service_int/test/javax/management/loading/LibraryLoader/LibraryLoaderTest.java

      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.656
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/101)----------
      command: build LibraryLoaderTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0
      result: Passed. No need to compile: LibraryLoaderTest.java

      #section:main
      ----------messages:(3/121)----------
      command: main LibraryLoaderTest
      reason: User specified action: run main LibraryLoaderTest
      elapsed time (seconds): 0.649
      ----------System.out:(33/2551)----------
      java.library.path=/hm/users/tbell/d/control/build/linux-i586/lib/i386/client:/hm/users/tbell/d/control/build/linux-i586/lib/i386:/hm/users/tbell/d/control/build/linux-i586/../lib/i386
      test.src=/hm/users/tbell/service_int/test/javax/management/loading/LibraryLoader
      user.dir=/hm/users/tbell/service_int/test/JTwork/scratch
      MLet = testDomain:type=MLet,index=0
       Old Library Directory = /tmp
      New Library Directory = /hm/users/tbell/service_int/test/JTwork/scratch
      MLet URL =
      file:/hm/users/tbell/service_int/test/javax/management/loading/LibraryLoader/UseNativeLib0.html
      java.lang.NoClassDefFoundError
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at
      sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at
      sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:411)
              at
      com.sun.jmx.mbeanserver.MBeanInstantiatorImpl.instantiate(MBeanInstantiatorImpl.java:230)
              at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:302)
              at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.createMBean(DefaultMBeanServerInterceptor.java:227)
              at
      com.sun.jmx.mbeanserver.JmxMBeanServer.createMBean(JmxMBeanServer.java:354)
              at javax.management.loading.MLet.getMBeansFromURL(MLet.java:608)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:494)
              at
      com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:402)
              at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
              at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
              at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
              at LibraryLoaderTest.main(LibraryLoaderTest.java:80)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:494)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
              at java.lang.Thread.run(Thread.java:566)
      Failed to load the MBean #0. The shown Throwable was caught.
      ----------System.err:(0/0)----------
      result: Failed. Unexpected exit from test [exit code: 1]


      test result: Failed. Unexpected exit from test [exit code: 1]

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            lmalvent Luis-Miguel Alventosa (Inactive)
            Reporter:
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: