[cp-patches] FYI: reference leak fix
Hi all, the attached patch fixed a leak of JNI references for me with tvbrowser[1], so I've checked it in. 2005-05-21 Dalibor Topic [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): Delete jpixels reference after use to avoid wasting references. cheers, dalibor topic [1] http://www.tvbrowser.org Index: native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c === RCS file: /cvsroot/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,v retrieving revision 1.12 diff -u -r1.12 gnu_java_awt_peer_gtk_GdkPixbufDecoder.c --- native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 16 Mar 2005 15:21:59 - 1.12 +++ native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c 21 May 2005 19:03:00 - @@ -154,6 +154,7 @@ (jint) width, (jint) height, jpixels, stride_pixels); + (*env)-DeleteLocalRef(env, jpixels); gdk_threads_enter (); } ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
[cp-patches] FYI:CORBA, support for reading classes with no local holder available
2005-05-22 Audrius Meskauskas, [EMAIL PROTECTED] * gnu/CORBA/universalHolder.java: New file. * gnu/CORBA/gnuAny.java (create_input_stream, read_value): Use the universalHolder. * gnu/CORBA/CDR/aligningInputStream.java (getBuffer): New method. noHolder.patch Description: Binary data ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
Re: [cp-patches] native/fdlibm/mprec.c: -Wall warning fixes
Christian == Christian Thalinger [EMAIL PROTECTED] writes: Christian We compile CACAO and thus classpath with -Wall to get rid of all Christian warnings. mprec.c had some problems here. Strangely enough we got a patch for this against libgcj just yesterday. I think I will check in that version, as there is no paperwork hurdle. Tom ___ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches
API cleanup
I committed the API cleanup patch. * NEWS: document VM interface changes. * java/lang/ClassLoader.java: (vmdata): add * vm/reference/java/lang/VMClass.java: (getModifiers()): add new parameter ignoreInnerClassesAttrib * vm/reference/java/lang/VMClassLoader.java: (defineClass()): remove deprecated version (getPrimitiveClass(String)): remove (getPrimitiveClass(char)): make native (loadClass()): make native * vm/reference/java/lang/VMThread.java: (vmdata): add (countStackFrames()): make native * vm/reference/java/lang/VMThrowable.java: (vmdata): add (fillInStackTrace()): make native (getStackTrace()): make native * vm/reference/java/lang/reflect/Constructor.java: (parameterTypes, exceptionTypes): remove (getParameterTypes(), getExceptionTypes()): make native -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath
[commit-cp] classpath ./ChangeLog java/awt/DefaultKeyboardF...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/05/21 07:06:38 Modified files: . : ChangeLog java/awt : DefaultKeyboardFocusManager.java Log message: 2005-05-20 Roman Kennke [EMAIL PROTECTED] * java/awt/DefaultKeyboardFocusManager.java: Documentation fixes. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3666tr2=1.3667r1=textr2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/DefaultKeyboardFocusManager.java.diff?tr1=1.12tr2=1.13r1=textr2=text ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] [bug #13141] swing: JTextField invisible with BoxLayout
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13141 Summary: swing: JTextField invisible with BoxLayout Project: classpath Submitted by: lindi Submitted on: Sat 05/21/05 at 14:22 Category: classpath Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Platform Version: None ___ Details: Steps to reproduce: 1. Compile and run the attached testcase Expected results: 1. A window with two labels and a textfield between the labels shows up. Actual results: 1. A window with two labels shows up but the textfield is not visible. Testcase: import javax.swing.*; import java.awt.*; public class jtextfield extends JFrame { public static void main(String[] args) { (new jtextfield()).show(); } public jtextfield() { JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS)); panel.add(new JLabel(label1)); panel.add(new JTextField(4)); panel.add(new JLabel(label2)); this.setContentPane(panel); this.pack(); } } If I comment out the line that does setLayout the textfield is visible. ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13141 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] classpath ./ChangeLog doc/www.gnu.org/tasks.wml
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Audrius Mekauskas [EMAIL PROTECTED] 05/05/21 17:51:51 Modified files: . : ChangeLog doc/www.gnu.org: tasks.wml Log message: 2005-05-20 Audrius Meskauskas, [EMAIL PROTECTED] * doc/www.gnu.org/tasks.wml: Adding CORBA task. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3667tr2=1.3668r1=textr2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/doc/www.gnu.org/tasks.wml.diff?tr1=1.3tr2=1.4r1=textr2=text ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] classpath ./ChangeLog native/jni/gtk-peer/gnu_j...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Dalibor Topic [EMAIL PROTECTED] 05/05/21 19:04:40 Modified files: . : ChangeLog native/jni/gtk-peer: gnu_java_awt_peer_gtk_GdkPixbufDecoder.c Log message: fixed jni reference leak 2005-05-21 Dalibor Topic [EMAIL PROTECTED] * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated): Delete jpixels reference after use to avoid wasting references. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3668tr2=1.3669r1=textr2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c.diff?tr1=1.12tr2=1.13r1=textr2=text ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] [bug #13145] SAXParseException with internal SAXParser
URL: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13145 Summary: SAXParseException with internal SAXParser Project: classpath Submitted by: wbaer Submitted on: Sat 05/21/2005 at 19:12 Category: classpath Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Platform Version: None ___ Details: Hi all, during packaging jaxme for debian I get the following test failures with todays classpath cvs / jamvm. See attached ParseTest class [EMAIL PROTECTED]:~$ jamvm ParseTest Warning: org.xml.sax.SAXParseException: relative URI for namespace: x at gnu.xml.aelfred2.SAXDriver.warn (SAXDriver.java:1017) at gnu.xml.aelfred2.SAXDriver.declarePrefix (SAXDriver.java:753) at gnu.xml.aelfred2.SAXDriver.attribute (SAXDriver.java:818) at gnu.xml.aelfred2.XmlParser.parseAttribute (XmlParser.java:1176) at gnu.xml.aelfred2.XmlParser.parseElement (XmlParser.java:1082) at gnu.xml.aelfred2.XmlParser.parseDocument (XmlParser.java:423) at gnu.xml.aelfred2.XmlParser.doParse (XmlParser.java:171) at gnu.xml.aelfred2.SAXDriver.parse (SAXDriver.java:345) at gnu.xml.aelfred2.XmlReader.parse (XmlReader.java:310) at javax.xml.parsers.SAXParser.parse (SAXParser.java:273) at ParseTest.main (ParseTest.java:37) This testcase passes with JDK 1.4 from SUN. Let me know, if you are also interested in Mauve testcases for such stuff and I will learn Mauve and provide additional testcases in the future. Wolfgang ___ File Attachments: --- Date: Sat 05/21/2005 at 19:12 Name: ParseTest.java Size: 1.15KB By: wbaer Testcase http://savannah.gnu.org/bugs/download.php?item_id=13145item_file_id=2525 ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=13145 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] classpath ./ChangeLog resource/gnu/java/locale/...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Michael Koch [EMAIL PROTECTED]05/05/21 21:22:31 Modified files: . : ChangeLog resource/gnu/java/locale: LocaleInformation_as.properties LocaleInformation_bg.properties LocaleInformation_cs.properties LocaleInformation_da.properties LocaleInformation_de.properties LocaleInformation_dz.properties LocaleInformation_en.properties LocaleInformation_en_GB.properties LocaleInformation_en_IE.properties LocaleInformation_en_SG.properties LocaleInformation_es.properties LocaleInformation_fa.properties LocaleInformation_fa_AF.properties LocaleInformation_fi.properties LocaleInformation_fr.properties LocaleInformation_ga.properties LocaleInformation_hi.properties LocaleInformation_it.properties LocaleInformation_ja.properties LocaleInformation_ko.properties LocaleInformation_mr.properties LocaleInformation_mt.properties LocaleInformation_nb.properties LocaleInformation_nl.properties LocaleInformation_ps.properties LocaleInformation_pt.properties LocaleInformation_sr.properties LocaleInformation_sr_Latn.properties LocaleInformation_sv.properties LocaleInformation_sw.properties LocaleInformation_ta.properties LocaleInformation_uz_AF.properties LocaleInformation_zh.properties LocaleInformation_zh_Hant.properties Log message: 2005-05-21 Michael Koch [EMAIL PROTECTED] * resource/gnu/java/locale/LocaleInformation_as.properties, resource/gnu/java/locale/LocaleInformation_bg.properties, resource/gnu/java/locale/LocaleInformation_cs.properties, resource/gnu/java/locale/LocaleInformation_da.properties, resource/gnu/java/locale/LocaleInformation_de.properties, resource/gnu/java/locale/LocaleInformation_dz.properties, resource/gnu/java/locale/LocaleInformation_en.properties, resource/gnu/java/locale/LocaleInformation_en_GB.properties, resource/gnu/java/locale/LocaleInformation_en_IE.properties, resource/gnu/java/locale/LocaleInformation_en_SG.properties, resource/gnu/java/locale/LocaleInformation_es.properties, resource/gnu/java/locale/LocaleInformation_fa.properties, resource/gnu/java/locale/LocaleInformation_fa_AF.properties, resource/gnu/java/locale/LocaleInformation_fi.properties, resource/gnu/java/locale/LocaleInformation_fr.properties, resource/gnu/java/locale/LocaleInformation_ga.properties, resource/gnu/java/locale/LocaleInformation_hi.properties, resource/gnu/java/locale/LocaleInformation_it.properties, resource/gnu/java/locale/LocaleInformation_ja.properties, resource/gnu/java/locale/LocaleInformation_ko.properties, resource/gnu/java/locale/LocaleInformation_mr.properties, resource/gnu/java/locale/LocaleInformation_mt.properties, resource/gnu/java/locale/LocaleInformation_nb.properties, resource/gnu/java/locale/LocaleInformation_nl.properties, resource/gnu/java/locale/LocaleInformation_ps.properties, resource/gnu/java/locale/LocaleInformation_pt.properties, resource/gnu/java/locale/LocaleInformation_sr.properties, resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, resource/gnu/java/locale/LocaleInformation_sv.properties, resource/gnu/java/locale/LocaleInformation_sw.properties, resource/gnu/java/locale/LocaleInformation_ta.properties, resource/gnu/java/locale/LocaleInformation_uz_AF.properties, resource/gnu/java/locale/LocaleInformation_zh.properties, resource/gnu/java/locale/LocaleInformation_zh_Hant.properties: Regenerated with newer gnu.localegen to fix newline bug. CVSWeb URLs:
[commit-cp] classpath ./ChangeLog java/text/DateFormatSymbo...
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Andrew John Hughes [EMAIL PROTECTED] 05/05/21 21:22:06 Modified files: . : ChangeLog java/text : DateFormatSymbols.java Log message: 2005-05-21 Andrew John Hughes [EMAIL PROTECTED] * java/text/DateFormatSymbols.java: (getStringArray(java.util.ResourceBundle,String)): Fixed parsing of new property files. (getZoneStrings(java.util.ResourceBundle)): Likewise. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3669tr2=1.3670r1=textr2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/text/DateFormatSymbols.java.diff?tr1=1.16tr2=1.17r1=textr2=text ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] [bug #12977] Configure - couldn't find antlr.jar
Follow-up Comment #2, bug #12977 (project classpath): Gjdoc 0.7.5 has been released and includes a fix for this issue. The latest release can be found at ftp://ftp.gnu.org/gnu/classpath/ Please report back when you gave it a try. Thanks! ___ Reply to this item at: http://savannah.gnu.org/bugs/?func=detailitemitem_id=12977 ___ Message sent via/by Savannah http://savannah.gnu.org/ ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath
[commit-cp] classpath ./ChangeLog native/fdlibm/mprec.c
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 05/05/22 01:44:19 Modified files: . : ChangeLog native/fdlibm : mprec.c Log message: 2005-05-21 Andreas Jaeger [EMAIL PROTECTED] * java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to avoid warnings. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3672tr2=1.3673r1=textr2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/native/fdlibm/mprec.c.diff?tr1=1.4tr2=1.5r1=textr2=text ___ Commit-classpath mailing list Commit-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/commit-classpath