User account creation filtered due to spam.

Bug 16200 - gcj generates dependencies on the full contents of the extensions directory
Summary: gcj generates dependencies on the full contents of the extensions directory
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 14:22 UTC by Anthony Green
Modified: 2016-09-07 08:20 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-01-11 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Green 2004-06-25 14:22:18 UTC
If you build some java code, and have the compiler generate dependency info,
you'll see that the depencies include all jar files in the extensions directory.
 For instance, when building libgcj with jars in my install areas extensions
directory, I get dependency info like this:

java/lang/Class.lo:  \
 /home/green/sources/jhbuild-src/gcc/libjava/java/lang/Class.java \
  /home/green/install/jhbuild-inst/share/java/ext/javax-security-cert.jar \
  /home/green/install/jhbuild-inst/share/java/ext/org-metastatic-callbacks.jar \\
  /home/green/install/jhbuild-inst/share/java/ext/commons-logging.jar \
  /home/green/install/jhbuild-inst/share/java/ext/java_cup.jar \
  /home/green/install/jhbuild-inst/share/java/ext/gnu-crypto.jar \
  /home/green/install/jhbuild-inst/share/java/ext/mail.jar \
  /home/green/install/jhbuild-inst/share/java/ext/servlet.jar \
  /home/green/install/jhbuild-inst/share/java/ext/xml-commons-resolver.jar \
  /home/green/install/jhbuild-inst/share/java/ext/javax-net.jar \
  /home/green/install/jhbuild-inst/share/java/ext/bsf_core.jar \
  /home/green/install/jhbuild-inst/share/java/ext/bcel.jar \
  /home/green/install/jhbuild-inst/share/java/ext/ant.jar \
  /home/green/install/jhbuild-inst/share/java/ext/gnu-crypto-der.jar \
  /home/green/install/jhbuild-inst/share/java/ext/jython.jar \
  /home/green/install/jhbuild-inst/share/java/ext/bsf.jar \
  /home/green/install/jhbuild-inst/share/java/ext/gnu.readline.jar \
  /home/green/install/jhbuild-inst/share/java/ext/rhino.jar \
  /home/green/install/jhbuild-inst/share/java/ext/ant-optional.jar \
  /home/green/install/jhbuild-inst/share/java/ext/jakarta-oro.jar \
  /home/green/install/jhbuild-inst/share/java/ext/jacorb.jar \
  /home/green/install/jhbuild-inst/share/java/ext/jakarta-regexp.jar \
  /home/green/install/jhbuild-inst/share/java/ext/activation.jar \
  /home/green/install/jhbuild-inst/share/java/ext/org-metastatic-jessie.jar \
  /home/green/install/jhbuild-inst/share/java/ext/xalan.jar \
  /home/green/install/jhbuild-inst/share/java/ext/com-jcraft-jzlib.jar \
  /home/green/install/jhbuild-inst/share/java/ext/commons-logging-apis.jar \
  /home/green/install/jhbuild-inst/share/java/ext/javax-security.jar \
  /home/green/install/jhbuild-inst/share/java/ext/gnu-getopt.jar \
  /home/green/install/jhbuild-inst/share/java/ext/junit.jar \
  /home/green/install/jhbuild-inst/share/java/ext/xsltc.jar \
  /home/green/install/jhbuild-inst/share/java/ext/javax-crypto.jar \
  /home/green/install/jhbuild-inst/share/java/ext/xmlParserAPIs.jar \
  /home/green/install/jhbuild-inst/share/java/ext/rhino-tools.jar \
  /home/green/install/jhbuild-inst/share/java/ext/xercesImpl.jar \
  java/util/HashSet.class java/util/AbstractSet.class \
  java/util/AbstractCollection.class java/lang/Object.class \
  java/util/Collection.class java/util/Set.class \
  java/io/Serializable.class java/lang/Cloneable.class \
  java/util/Arrays.class java/util/Arrays$$ArrayList.class \
  java/util/AbstractList.class java/util/List.class \
  java/util/RandomAccess.class java/security/ProtectionDomain.class \
 etc
etc
etc

I don't think any of those jar files should be in this list.
Comment 1 Richard Biener 2012-01-11 12:27:45 UTC
Please verify if this is still an issue.
Comment 2 Andrew Pinski 2016-09-07 08:20:23 UTC
No feedback in over 4 years so closing and gcj is about to remove :)