public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError
@ 2012-01-19 11:12 jojelino at gmail dot com
2012-01-19 11:31 ` [Bug libgcj/51901] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jojelino at gmail dot com @ 2012-01-19 11:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
Bug #: 51901
Summary: [4.7 regression] java.security.Security.getProperty
throws ExceptionInInitializerError
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jojelino@gmail.com
Host: i686-pc-cygwin
Target: i686-pc-mingw32
Build: i686-pc-cygwin
system property 'java.security.manager' is not defined. so ClassLoader doesn't
initializes SecurityManager.
$ ./gcj-dbtool.exe -n classmap.db
Exception in thread "main" java.lang.ExceptionInInitializerError
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:803)
at
java.security.Security.getProperty(/tmp/gcc/libjava/classpath/java/security/Security.java:366)
at
java.net.ResolverCache.getTTL(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:90)
at
java.net.ResolverCache.<clinit>(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:77)
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:791)
at
java.net.ResolverCache.getHostByAddr(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:118)
at
java.net.InetAddress.internalGetCanonicalHostName(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:319)
at
java.net.InetAddress.getCanonicalHostName(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:334)
at
java.net.InetAddress.getHostName(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:307)
at
java.net.InetAddress.<clinit>(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:92)
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:791)
at
java.net.InetAddress.getLocalHost(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:612)
at
gnu.java.net.GetLocalHostAction.run(/tmp/gcc/libjava/classpath/gnu/java/net/GetLocalHostAction.java:57)
at
gnu.java.net.GetLocalHostAction.run(/tmp/gcc/libjava/classpath/gnu/java/net/GetLocalHostAction.java:1)
at
java.security.AccessController.doPrivileged(/tmp/gcc/libjava/classpath/java/security/AccessController.java:96)
at
gnu.java.net.protocol.ftp.FTPURLConnection.connect(/tmp/gcc/libjava/classpath/gnu/java/net/protocol/ftp/FTPURLConnection.java:117)
at
gnu.java.net.protocol.ftp.FTPURLConnection.getInputStream(/tmp/gcc/libjava/classpath/gnu/java/net/protocol/ftp/FTPURLConnection.java:165)
at java.net.URL.openStream(/tmp/gcc/libjava/classpath/java/net/URL.java:737)
at
java.util.logging.LogManager.readConfiguration(/tmp/gcc/libjava/java/util/logging/LogManager.java:507)
at
java.util.logging.LogManager.initLogManager(/tmp/gcc/libjava/java/util/logging/LogManager.java:203)
at
java.util.logging.LogManager.getLogManager(/tmp/gcc/libjava/java/util/logging/LogManager.java:168)
at
java.util.logging.Logger.getLogger(/tmp/gcc/libjava/java/util/logging/Logger.java:276)
at
java.util.logging.Logger.getLogger(/tmp/gcc/libjava/java/util/logging/Logger.java:224)
at
java.util.logging.Logger$1.run(/tmp/gcc/libjava/java/util/logging/Logger.java:91)
at
java.security.AccessController.doPrivileged(/tmp/gcc/libjava/classpath/java/security/AccessController.java:96)
at
java.util.logging.Logger.<clinit>(/tmp/gcc/libjava/java/util/logging/Logger.java:86)
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:791)
at
java.util.logging.Logger.getLogger(/tmp/gcc/libjava/java/util/logging/Logger.java:224)
at
java.math.BigInteger.<clinit>(/tmp/gcc/libjava/classpath/java/math/BigInteger.java:67)
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:791)
at
gnu.gcj.runtime.PersistentByteMap.init(/tmp/gcc/libjava/gnu/gcj/runtime/PersistentByteMap.java:181)
at
gnu.gcj.runtime.PersistentByteMap.emptyPersistentByteMap(/tmp/gcc/libjava/gnu/gcj/runtime/PersistentByteMap.java:231)
at
gnu.gcj.tools.gcj_dbtool.Main.main(/tmp/gcc/libjava/gnu/gcj/tools/gcj_dbtool/Main.java:82)
Caused by: java.lang.NullPointerException
at
java.net.ResolverCache.reap(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:221)
at
java.net.ResolverCache.get(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:192)
at
java.net.ResolverCache.getHostByName(/tmp/gcc/libjava/classpath/java/net/ResolverCache.java:152)
at
java.net.InetAddress.getAllByName(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:590)
at
java.net.InetAddress.getByName(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:550)
at
java.net.InetAddress.getLocalHost(/tmp/gcc/libjava/classpath/java/net/InetAddress.java:615)
at
gnu.java.net.GetLocalHostAction.run(/tmp/gcc/libjava/classpath/gnu/java/net/GetLocalHostAction.java:57)
at
gnu.java.net.GetLocalHostAction.run(/tmp/gcc/libjava/classpath/gnu/java/net/GetLocalHostAction.java:1)
at
java.security.AccessController.doPrivileged(/tmp/gcc/libjava/classpath/java/security/AccessController.java:96)
at
gnu.java.net.protocol.ftp.FTPURLConnection.connect(/tmp/gcc/libjava/classpath/gnu/java/net/protocol/ftp/FTPURLConnection.java:117)
at
gnu.java.net.protocol.ftp.FTPURLConnection.getInputStream(/tmp/gcc/libjava/classpath/gnu/java/net/protocol/ftp/FTPURLConnection.java:165)
at java.net.URL.openStream(/tmp/gcc/libjava/classpath/java/net/URL.java:737)
at
java.security.Security.loadProviders(/tmp/gcc/libjava/classpath/java/security/Security.java:131)
at
java.security.Security.<clinit>(/tmp/gcc/libjava/classpath/java/security/Security.java:80)
at
java.lang.Class.initializeClass(/tmp/gcc/i686-pc-mingw32/libjava/../.././libjava/java/lang/natClass.cc:791)
...32 more
$ /tmp/gcc/host-i686-pc-cygwin/gcc/gcj -v -B..
Using built-in specs.
Reading specs from ../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=/tmp/gcc/host-i686-pc-cygwin/gcc/gcj
Target: i686-pc-mingw32
Configured with: ./configure -C --prefix=/usr --enable-win32-registry
--enable-java-awt=qt --enable-threads=win32 --enable-languages=c,c++,lto,java
--with-win32-nlsapi=unicode --enable-tls --disable-bootstrap
--target=i686-pc-mingw32 --enable-shared --enable-load-library
--enable-interpreter --disable-sjlj-exceptions --enable-gomp
--with-ecj-jar=/tmp/gcc/org.eclipse.jdt.core_3.7.0.v_B35.jar
--with-antlr-jar=/tmp/gcc/antlr-3.3-complete.jar
--with-libiconv-prefix=/usr/i686-pc-mingw32 --with-x=no
--enable-cloog-backend=isl --with-sysroot=/usr/i686-pc-mingw32/sys-root
--with-build-sysroot=/usr/i686-pc-mingw32/sys-root LTLDFLAGS=-no-undefined
lt_cv_deplibs_check_method=pass_all
Thread model: win32
gcc version 4.7.0 20120114 (experimental) (GCC)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/51901] [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
@ 2012-01-19 11:31 ` rguenth at gcc dot gnu.org
2012-01-19 11:35 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-19 11:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/51901] [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
2012-01-19 11:31 ` [Bug libgcj/51901] " rguenth at gcc dot gnu.org
@ 2012-01-19 11:35 ` jakub at gcc dot gnu.org
2012-01-19 12:48 ` jojelino at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-01-19 11:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-19 11:28:37 UTC ---
Why the 4.7 regression tag? Does it work in 4.6? I think the amount of libgcj
changes since 4.6 has been very small...
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/51901] [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
2012-01-19 11:31 ` [Bug libgcj/51901] " rguenth at gcc dot gnu.org
2012-01-19 11:35 ` jakub at gcc dot gnu.org
@ 2012-01-19 12:48 ` jojelino at gmail dot com
2012-01-30 8:56 ` [Bug libgcj/51901] " jojelino at gmail dot com
2012-01-30 8:59 ` jojelino at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: jojelino at gmail dot com @ 2012-01-19 12:48 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
--- Comment #2 from gee <jojelino at gmail dot com> 2012-01-19 12:36:35 UTC ---
(In reply to comment #1)
> Why the 4.7 regression tag? Does it work in 4.6? I think the amount of libgcj
> changes since 4.6 has been very small...
sorry for 4.7 regression tag. it worked before i apply the patch in pr50057.
this bug opened after i applied the patch. please review pr50057.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/51901] java.security.Security.getProperty throws ExceptionInInitializerError
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
` (2 preceding siblings ...)
2012-01-19 12:48 ` jojelino at gmail dot com
@ 2012-01-30 8:56 ` jojelino at gmail dot com
2012-01-30 8:59 ` jojelino at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: jojelino at gmail dot com @ 2012-01-30 8:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
--- Comment #3 from gee <jojelino at gmail dot com> 2012-01-30 07:14:42 UTC ---
Created attachment 26512
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26512
proposed patch for handling thiscall r3
FAIL: TestClosureGC output
FAIL: libjava.jar/TestClosureGC.jar execution - gij test
FAIL: simple output
FAIL: libjava.jar/simple.jar execution - gij test
Running /tmp/gcc/libjava/testsuite/libjava.jni/jni.exp ...
Running /tmp/gcc/libjava/testsuite/libjava.jvmti/jvmti-interp.exp ...
Running /tmp/gcc/libjava/testsuite/libjava.jvmti/jvmti.exp ...
Running /tmp/gcc/libjava/testsuite/libjava.lang/lang.exp ...
FAIL: ExtraClassLoader execution - source compiled test
FAIL: ExtraClassLoader -findirect-dispatch execution - source compiled test
FAIL: ExtraClassLoader -O3 execution - source compiled test
FAIL: ExtraClassLoader -O3 -findirect-dispatch execution - source compiled test
FAIL: ProxyTest -O3 execution - source compiled test
FAIL: ProxyTest -O3 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 output - source compiled test
FAIL: StackTrace2 -findirect-dispatch output - source compiled test
FAIL: StackTrace2 -O3 output - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch output - source compiled test
FAIL: TestProxy -O3 execution - source compiled test
FAIL: TestProxy -O3 -findirect-dispatch execution - source compiled test
FAIL: Thread_Sleep output - source compiled test
FAIL: Thread_Sleep -findirect-dispatch output - source compiled test
FAIL: Thread_Sleep -O3 output - source compiled test
FAIL: Thread_Sleep -O3 -findirect-dispatch output - source compiled test
FAIL: Thread_Sleep_2 output - source compiled test
FAIL: Thread_Sleep_2 -findirect-dispatch output - source compiled test
FAIL: Thread_Sleep_2 -O3 output - source compiled test
FAIL: Thread_Sleep_2 -O3 -findirect-dispatch output - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: md5test execution - source compiled test
FAIL: md5test -findirect-dispatch execution - source compiled test
FAIL: md5test -O3 execution - source compiled test
FAIL: md5test -O3 -findirect-dispatch execution - source compiled test
FAIL: pr21785 execution - source compiled test
FAIL: pr21785 -findirect-dispatch execution - source compiled test
FAIL: pr21785 -O3 execution - source compiled test
FAIL: pr21785 -O3 -findirect-dispatch execution - source compiled test
FAIL: pr26990 execution - source compiled test
FAIL: pr26990 -findirect-dispatch execution - source compiled test
FAIL: pr26990 -O3 execution - source compiled test
FAIL: pr26990 -O3 -findirect-dispatch execution - source compiled test
FAIL: shatest execution - source compiled test
FAIL: shatest -findirect-dispatch execution - source compiled test
FAIL: shatest -O3 execution - source compiled test
FAIL: shatest -O3 -findirect-dispatch execution - source compiled test
Running /tmp/gcc/libjava/testsuite/libjava.loader/loader.exp ...
FAIL: TestEarlyGC execution - source compiled test
FAIL: TestMultiple output - source compiled test
FAIL: TestParent output - source compiled test
Running /tmp/gcc/libjava/testsuite/libjava.mauve/mauve.exp ...
sh: /configure: No such file or directory
FAIL: Mauve configure
Running /tmp/gcc/libjava/testsuite/libjava.special/special.exp ...
Running /tmp/gcc/libjava/testsuite/libjava.verify/verify.exp ...
=== libjava Summary ===
# of expected passes 2331
# of unexpected failures 48
# of untested testcases 31
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/51901] java.security.Security.getProperty throws ExceptionInInitializerError
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
` (3 preceding siblings ...)
2012-01-30 8:56 ` [Bug libgcj/51901] " jojelino at gmail dot com
@ 2012-01-30 8:59 ` jojelino at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: jojelino at gmail dot com @ 2012-01-30 8:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51901
--- Comment #4 from gee <jojelino at gmail dot com> 2012-01-30 07:15:28 UTC ---
Comment on attachment 26512
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26512
proposed patch for handling thiscall r3
invalid attachment. please ignore it.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-30 7:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 11:12 [Bug libgcj/51901] New: [4.7 regression] java.security.Security.getProperty throws ExceptionInInitializerError jojelino at gmail dot com
2012-01-19 11:31 ` [Bug libgcj/51901] " rguenth at gcc dot gnu.org
2012-01-19 11:35 ` jakub at gcc dot gnu.org
2012-01-19 12:48 ` jojelino at gmail dot com
2012-01-30 8:56 ` [Bug libgcj/51901] " jojelino at gmail dot com
2012-01-30 8:59 ` jojelino at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).