re GNATS libgcj/226 (implicit __builtin_expect) and GNATS gcj/228 (compressed JAR files)
2000-05-20 Bryce McKinlay <bryce@albatross.co.nz> Fix for PR libgcj/226: * java/lang/Class.h (_Jv_InitClass): Don't call __builtin_expect, since this is an installed header. Fix for PR libgcj/228: * java/util/zip/ZipFile (getInputStream): Create inflater with nowrapper option. * java/util/zip/natInflater.cc (inflate): Throw zlib's error message with DataFormatException. From-SVN: r34064
This commit is contained in:
parent
dcfa721dcf
commit
1c02a3d964
4 changed files with 21 additions and 4 deletions
|
@ -206,8 +206,9 @@ private:
|
|||
inline friend void
|
||||
_Jv_InitClass (jclass klass)
|
||||
{
|
||||
if (__builtin_expect (klass->state != JV_STATE_DONE, false))
|
||||
klass->initializeClass ();
|
||||
if (klass->state == JV_STATE_DONE)
|
||||
return;
|
||||
klass->initializeClass ();
|
||||
}
|
||||
|
||||
friend _Jv_Method* _Jv_LookupDeclaredMethod (jclass, _Jv_Utf8Const *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue