public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
@ 2004-10-12 23:51 ovidr at users dot sourceforge dot net
  2004-10-12 23:52 ` [Bug java/17963] " ovidr at users dot sourceforge dot net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-10-12 23:51 UTC (permalink / raw)
  To: java-prs

gcc version 4.0.0 20041009 (experimental)

try-noerror.jar and tryerror.jar have the *same files* contained within, just 
in a different order.

gcj -c try-noerror.jar
(no error)

gcj -c try-error.jar
gnu/crypto/pki/provider/EncodedKeyFactory.java:0: fatal error: reading class 
gnu.crypto.pki.provider.EncodedKeyFactory for the second time from 
gnu/crypto/pki/provider/EncodedKeyFactory.class
compilation terminated.


gcc version 4.0.0 20040922 (experimental) does not have this problem.

I will include the files.

-- 
           Summary: [4.0 Regression] Compiling a .jar files fails when files
                    within .jar are in a different order
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ovidr at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
@ 2004-10-12 23:52 ` ovidr at users dot sourceforge dot net
  2004-10-13  0:56 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-10-12 23:52 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From ovidr at users dot sourceforge dot net  2004-10-12 23:52 -------
Created an attachment (id=7332)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7332&action=view)
The two jar files


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
  2004-10-12 23:52 ` [Bug java/17963] " ovidr at users dot sourceforge dot net
@ 2004-10-13  0:56 ` pinskia at gcc dot gnu dot org
  2004-10-28 14:33 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-13  0:56 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
  2004-10-12 23:52 ` [Bug java/17963] " ovidr at users dot sourceforge dot net
  2004-10-13  0:56 ` pinskia at gcc dot gnu dot org
@ 2004-10-28 14:33 ` pinskia at gcc dot gnu dot org
  2004-10-28 16:30 ` ovidr at users dot sourceforge dot net
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-28 14:33 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-28 14:32 -------
Hmm with the current mainline I get:
java/lang/Throwable.java: In class 'gnu.crypto.pki.provider.EncodedKeyFactory':
java/lang/Throwable.java: In method 
'gnu.crypto.pki.provider.EncodedKeyFactory.engineGeneratePublic(java.security.spec.KeySpec)':
java/lang/Throwable.java:93: error: cannot find file for class gnu.crypto.pki.provider.GnuDSAPublicKey
java/lang/Throwable.java:93: error: cannot find file for class gnu.crypto.pki.provider.GnuDSAPublicKey

but I looked into the jars and there is no GnuDSAPublicKey.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
                   ` (2 preceding siblings ...)
  2004-10-28 14:33 ` pinskia at gcc dot gnu dot org
@ 2004-10-28 16:30 ` ovidr at users dot sourceforge dot net
  2004-10-28 16:31 ` ovidr at users dot sourceforge dot net
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-10-28 16:30 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From ovidr at users dot sourceforge dot net  2004-10-28 16:30 -------
Hi, sorry, I didn't notice that I had a gnu/crypto/pki/provider/ subdirectory 
and I guess gcj picked up the classes from there.

I will include gnu.zip.  Unzip it to a temp directory preserving paths, and 
gcj -c try-noerror.jar and gcj -c try-error.jar from the temp dir.

/tmp/
/tmp/try-noerror.jar
/tmp/try-error.jar
/tmp/gnu/crypto/pki/provider/* 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
                   ` (3 preceding siblings ...)
  2004-10-28 16:30 ` ovidr at users dot sourceforge dot net
@ 2004-10-28 16:31 ` ovidr at users dot sourceforge dot net
  2004-10-28 16:35 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-10-28 16:31 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From ovidr at users dot sourceforge dot net  2004-10-28 16:31 -------
Created an attachment (id=7424)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7424&action=view)
gnu class files


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
                   ` (4 preceding siblings ...)
  2004-10-28 16:31 ` ovidr at users dot sourceforge dot net
@ 2004-10-28 16:35 ` pinskia at gcc dot gnu dot org
  2004-11-27  1:03 ` pinskia at gcc dot gnu dot org
  2004-11-27  1:26 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-28 16:35 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-28 16:35 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-28 16:35:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
                   ` (5 preceding siblings ...)
  2004-10-28 16:35 ` pinskia at gcc dot gnu dot org
@ 2004-11-27  1:03 ` pinskia at gcc dot gnu dot org
  2004-11-27  1:26 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27  1:03 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-27 01:03 -------
I think this has been fixed by the merge of the BC branch but I have not tried it yet as I have not 
compiled a java compiler after.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug java/17963] [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order
  2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
                   ` (6 preceding siblings ...)
  2004-11-27  1:03 ` pinskia at gcc dot gnu dot org
@ 2004-11-27  1:26 ` tromey at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-11-27  1:26 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-11-27 01:26 -------
I downloaded the files, unzipped, and tried with the
current cvs gcj.  It compiled both .jar files without
error.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17963


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-11-27  1:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-12 23:51 [Bug java/17963] New: [4.0 Regression] Compiling a .jar files fails when files within .jar are in a different order ovidr at users dot sourceforge dot net
2004-10-12 23:52 ` [Bug java/17963] " ovidr at users dot sourceforge dot net
2004-10-13  0:56 ` pinskia at gcc dot gnu dot org
2004-10-28 14:33 ` pinskia at gcc dot gnu dot org
2004-10-28 16:30 ` ovidr at users dot sourceforge dot net
2004-10-28 16:31 ` ovidr at users dot sourceforge dot net
2004-10-28 16:35 ` pinskia at gcc dot gnu dot org
2004-11-27  1:03 ` pinskia at gcc dot gnu dot org
2004-11-27  1:26 ` tromey at gcc dot gnu dot org

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).