public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/5227: verification error on JDK 1.3.1 class file
@ 2003-05-13  6:24 steven
  0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-05-13  6:24 UTC (permalink / raw)
  To: Jens.Maurer, gcc-bugs, gcc-prs, java-prs, nobody

Synopsis: verification error on JDK 1.3.1 class file

State-Changed-From-To: open->closed
State-Changed-By: steven
State-Changed-When: Tue May 13 06:24:43 2003
State-Changed-Why:
    See audit trail

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5227


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

* Re: java/5227: verification error on JDK 1.3.1 class file
@ 2003-04-21 21:26 Daniel Bonniot
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Bonniot @ 2003-04-21 21:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/5227; it has been noted by GNATS.

From: Daniel Bonniot <Daniel.Bonniot@inria.fr>
To: gcc-gnats@gcc.gnu.org,  Jens.Maurer@gmx.net,  java-prs@gcc.gnu.org, 
 gcc-bugs@gcc.gnu.org,  nobody@gcc.gnu.org,  gcc-prs@gcc.gnu.org
Cc:  
Subject: Re: java/5227: verification error on JDK 1.3.1 class file
Date: Mon, 21 Apr 2003 23:21:18 +0200

 Hi,
 
 I have tried reproducing the following bug, which was reported against 
 gcc version 3.1 20011230 (experimental):
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5227
 
 The bug seems to have been fixed, in gcc version 3.3 20030412 (Debian 
 prerelease):
 $ gcj-3.3 -I/usr/share/java/libgcj-3.3.jar 
 -I/usr/lib/j2se/1.3/jre/lib/rt.jar  -c ReaderThread.class
 IIOPConnection.java: In class `com.sun.corba.se.internal.iiop.ReaderThread':
 IIOPConnection.java: In method 
 `com.sun.corba.se.internal.iiop.ReaderThread.run()':
 IIOPConnection.java:139: warning: unreachable bytecode from 171 to 
 before 174
 IIOPConnection.java:141: warning: unreachable bytecode from 178 to 
 before 180
 
 So there are two warnings, but no verification error anymore.
 
 Just to make sure, I tried to reproduce the bug with an older version of 
 gcj, to check my setup is correct. With gcc version 3.0.4, I do 
 reproduce the bug:
 
 $ gcj-3.0 -I/usr/share/java/libgcj-3.3.jar 
 -I/usr/lib/j2se/1.3/jre/lib/rt.jar  -c ReaderThread.class
 IIOPConnection.java: In class `com.sun.corba.se.internal.iiop.ReaderThread':
 IIOPConnection.java: In method 
 `com.sun.corba.se.internal.iiop.ReaderThread.run()':
 IIOPConnection.java:100: verification error at PC=178
 IIOPConnection.java:100: stack overflow
 
 
 So I suggest to close this bug as fixed. Cheers!
 
 Daniel
 
 PS: gcj 3.3 does generate lots of spurious warnings about unreachable 
 bytecode, like in the above output. Is this a known problem. Should a 
 bug report be filed about them?
 


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

* java/5227: verification error on JDK 1.3.1 class file
@ 2001-12-31  4:26 Jens.Maurer
  0 siblings, 0 replies; 3+ messages in thread
From: Jens.Maurer @ 2001-12-31  4:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5227
>Category:       java
>Synopsis:       verification error on JDK 1.3.1 class file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 31 04:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jens Maurer
>Release:        gcc version 3.1 20011230 (experimental)
>Organization:
>Environment:
Linux 2.4.17 with glibc 2.2.4 on Intel x86
>Description:
The attached class file is from the Sun JDK 1.3.1 as distributed on java.sun.com.
When trying to compile it to native code, this verification error appears:

IIOPConnection.java: In class `com.sun.corba.se.internal.iiop.ReaderThread':
IIOPConnection.java: In method `com.sun.corba.se.internal.iiop.ReaderThread.run()':
IIOPConnection.java:100: verification error at PC=178
IIOPConnection.java:100: stack overflow

(You may need to download the full JDK to get all dependencies resolved.)
>How-To-Repeat:
gcj -I/home/jmaurer/work/jar/sun -o 'o/ReaderThread.o' -c 'ReaderThread.class'
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="ReaderThread.class"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ReaderThread.class"

yv66vgADAC0AXAoALAAtCgAaAC4JABkALwoAGgAwCgAxADIHADMJABkANAcANQoACAA2CAA3CgAI
ADgKAAgAOQoACAA6CgAZADsKADwAPQoAMQA+CgAxAD8HAEAIAEEJABIAQgcAQwgARAcARQgARgcA
RwcASAEABWRlYnVnAQABWgEAAWMBAC9MY29tL3N1bi9jb3JiYS9zZS9pbnRlcm5hbC9paW9wL0lJ
T1BDb25uZWN0aW9uOwEABmRwcmludAEAFShMamF2YS9sYW5nL1N0cmluZzspVgEABENvZGUBAA9M
aW5lTnVtYmVyVGFibGUBAAY8aW5pdD4BAFwoTGphdmEvbGFuZy9UaHJlYWRHcm91cDtMY29tL3N1
bi9jb3JiYS9zZS9pbnRlcm5hbC9paW9wL0lJT1BDb25uZWN0aW9uO0xqYXZhL2xhbmcvU3RyaW5n
O1opVgEARShMY29tL3N1bi9jb3JiYS9zZS9pbnRlcm5hbC9paW9wL0lJT1BDb25uZWN0aW9uO0xq
YXZhL2xhbmcvU3RyaW5nO1opVgEAFGdldEN1cnJlbnRDb25uZWN0aW9uAQAxKClMY29tL3N1bi9j
b3JiYS9zZS9pbnRlcm5hbC9paW9wL0lJT1BDb25uZWN0aW9uOwEAA3J1bgEAAygpVgEAClNvdXJj
ZUZpbGUBABNJSU9QQ29ubmVjdGlvbi5qYXZhBwBJDAAfAEoMACMASwwAHQAeDAAjACAHAEwMAE0A
TgEAE2phdmEvaW8vSU9FeGNlcHRpb24MABsAHAEAFmphdmEvbGFuZy9TdHJpbmdCdWZmZXIMACMA
KQEAIklPRXhjZXB0aW9uIGluIGNyZWF0ZUlucHV0U3RyZWFtOiAMAE8AUAwATwBRDABSAFMM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FsL2lpb3AvSUlPUElucHV0U3RyZWFtOylWAQAJbWlub3JDb2RlAQABSQAwABkAGgAA
AAIAAgAbABwAAAACAB0AHgAAAAUAAgAfACAAAQAhAAAAIgACAAIAAAAGKiu4AAGxAAAAAQAiAAAA
CgACAAAATAAFAE0AAQAjACQAAQAhAAAALAADAAUAAAAMKisttwACKiy1AAOxAAAAAQAiAAAADgAD
AAAAUwAGAFQACwBVAAEAIwAlAAEAIQAAACsAAgAEAAAACyostwAEKiu1AAOxAAAAAQAiAAAADgAD
AAAAWQAFAFoACgBbAAEAJgAnAAEAIQAAAB0AAQABAAAABSq0AAOwAAAAAQAiAAAABgABAAAAXgAB
ACgAKQABACEAAAFvAAQABQAAAN+nAAMBTCq0AAO2AAVMpwAwTSq0AAeZAB4quwAIWbcACRIKtgAL
LLYADLYADbcADiy2AA8qtAADBAQDtgAQKrQAAyu2ABGn/75MKrQAB5kAHiq7AAhZtwAJEhO2AAsr
tgAMtgANtwAOK7YADyq0AAMrtAAUBAO2ABCn/4tNKrQAB5kAHiq7AAhZtwAJEha2AAsstgAMtgAN
twAOLLYADyq0AAMEAwO2ABCoAAyn/1hOqAAFLb86BCy/Tiq0AAeZACEquwAIWbcACRIYtgALLbYA
DLYADbcADi22AA+nAAOxAAUABQANABAABgADAEUASAASAAMARQB7ABUAngCuAK4AAAADAEUAuAAX
AAEAIgAAAFYAFQAAAGQAAwBpAAUAbQAQAG8AGABwAC8AcQAzAHYAPQB5AEgAewBQAHwAZwB9AGsA
ggB7AIQAgwCFAJoAhgCeAIsArgCNALgAkADAAJEA1wCSAN4AmAABACoAAAACACs=


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

end of thread, other threads:[~2003-05-13  6:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13  6:24 java/5227: verification error on JDK 1.3.1 class file steven
  -- strict thread matches above, loose matches on Subject: below --
2003-04-21 21:26 Daniel Bonniot
2001-12-31  4:26 Jens.Maurer

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