Bug 7416 - java.security startup refs "GNU libgcj.security"
Summary: java.security startup refs "GNU libgcj.security"
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libgcj (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-26 11:56 UTC by Tom Tromey
Modified: 2003-07-25 17:33 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2002-07-26 11:56:01 UTC
The java.security init code in Security.java
calls loadProviders with the value of the
java.vm.name property.  We changed this property
to "GNU libgcj" -- but that yields a funny name for
the .security file.  We install the file as
"libgcj.security".

Whatever fix is made here must be suitable for classpath
as well...

Release:
unknown
Comment 1 Tom Tromey 2002-11-14 14:49:42 UTC
Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-Why: I'm handling this
Comment 2 Tom Tromey 2002-12-31 14:51:28 UTC
State-Changed-From-To: open->closed
State-Changed-Why: I've checked in the fix.
Comment 3 Tom Tromey 2002-12-31 22:49:38 UTC
From: tromey@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libgcj/7416
Date: 31 Dec 2002 22:49:38 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Branch: 	gcc-3_3-branch
 Changes by:	tromey@gcc.gnu.org	2002-12-31 14:49:38
 
 Modified files:
 	libjava        : ChangeLog 
 	libjava/java/lang: System.java 
 	libjava/java/security: Security.java 
 	libjava/javax/naming: InitialContext.java 
 
 Log message:
 	Fix for PR libgcj/7416:
 	* javax/naming/InitialContext.java (init): Use
 	gnu.classpath.home.url.
 	* java/security/Security.java: Use new properties.
 	(loadProviders): Accept base url; use it.
 	* java/lang/System.java: Document gnu.classpath.vm.shortname, and
 	gnu.classpath.home.url.
 	(gnu.classpath.home.url): Define.
 	(gnu.classpath.vm.shortname): Likewise.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1594.2.11&r2=1.1594.2.12
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/System.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.10&r2=1.10.20.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/security/Security.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.10&r2=1.10.2.1
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/naming/InitialContext.java.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.6&r2=1.6.2.1
 

Comment 4 Tom Tromey 2002-12-31 22:50:10 UTC
From: tromey@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libgcj/7416
Date: 31 Dec 2002 22:50:10 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	tromey@gcc.gnu.org	2002-12-31 14:50:10
 
 Modified files:
 	libjava        : ChangeLog 
 	libjava/java/lang: System.java 
 	libjava/java/security: Security.java 
 	libjava/javax/naming: InitialContext.java 
 
 Log message:
 	Fix for PR libgcj/7416:
 	* javax/naming/InitialContext.java (init): Use
 	gnu.classpath.home.url.
 	* java/security/Security.java: Use new properties.
 	(loadProviders): Accept base url; use it.
 	* java/lang/System.java: Document gnu.classpath.vm.shortname, and
 	gnu.classpath.home.url.
 	(gnu.classpath.home.url): Define.
 	(gnu.classpath.vm.shortname): Likewise.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.1608&r2=1.1609
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/System.java.diff?cvsroot=gcc&r1=1.10&r2=1.11
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/security/Security.java.diff?cvsroot=gcc&r1=1.10&r2=1.11
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/naming/InitialContext.java.diff?cvsroot=gcc&r1=1.6&r2=1.7