bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/64109] New: Missing symbol in libjavautil.so


From: gnu_andrew at member dot fsf.org
Subject: [Bug classpath/64109] New: Missing symbol in libjavautil.so
Date: Fri, 28 Nov 2014 21:35:21 +0000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64109

            Bug ID: 64109
           Summary: Missing symbol in libjavautil.so
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gnu_andrew at member dot fsf.org

$ cacao -verbose:jni -XX:+PrintWarnings TestCD
...
[Loading native library
/home/andrew/build/classpath/lib/classpath/libjavautil.so ... failed ]
LOG: [0x343709fc740] NativeLibrary::open: os::dlopen failed:
/home/andrew/build/classpath/lib/classpath/libjavautil.so: undefined symbol:
JCL_ThrowException
...
java.lang.UnsatisfiedLinkError: Native library `javautil' not found (as file
`libjavautil.so') in gnu.classpath.boot.library.path and java.library.path
   at java.lang.Runtime.loadLibrary(Runtime.java:763)
   at java.lang.System.loadLibrary(System.java:673)
   at java.util.VMTimeZone.<clinit>(VMTimeZone.java:59)
   at java.util.TimeZone$1.run(TimeZone.java:119)
   at java.util.TimeZone$1.run(TimeZone.java:1)
   at java.security.AccessController.doPrivileged(AccessController.java:96)
   at java.util.TimeZone.defaultZone(TimeZone.java:105)
   at java.util.TimeZone.getDefault(TimeZone.java:1745)
   at java.util.GregorianCalendar.<init>(GregorianCalendar.java:212)
   at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:455)
   at TestCD.main(TestCD.java:13)

In commit a6c8cc78aa8a7480519458c4f0aed648a3459599:

    Handle malloc() failure in java_util_VMTimeZone.c file.

    2011-07-20  Ivan Maidanski  <address@hidden>

        * native/jni/java-util/java_util_VMTimeZone.c:
        Include jcl.h file.
        (Java_java_util_VMTimeZone_getSystemTimeZoneId): Throw
        OutOfMemoryException in case of malloc() failure.

    [ address@hidden: cleanups ]
    Signed-off-by: Pekka Enberg <address@hidden>

a JCL_ThrowExeption call was added, but libjavautil.so does not link against
this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]