Re: GCJ ------ file type not supported by system

2014-09-03 Thread Per Bothner
that may be my bias from having worked with javac engineers. It's probably good enough for at least the initial stages of merging in OpenJDK classes.) -- --Per Bothner p...@bothner.com http://per.bothner.com/

Re: [kaffe] Removed GMP math?

2008-02-28 Thread Per Bothner
t's even more critical if you want to provide infinite-precision integers by default for a language or library. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: ASM and gnu.bytecode

2006-12-01 Thread Per Bothner
RMS wrote: That license is GPL-compatible, so it is ok to use the code and ok to import it as a package that is "not part of GCC" but distributed with it. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: ASM and gnu.bytecode

2006-11-26 Thread Per Bothner
res of jcf-dump, and jcf-dump is fast and compact.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: ASM and gnu.bytecode

2006-11-26 Thread Per Bothner
.html It surely makes more sense there than as part of Kawa. Huh? Kawa needs gnu.bytecode amd can't assume Classpath - at least not yet! -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: New java.text implementation

2006-11-17 Thread Per Bothner
y influence the decision as to what to import and how to do it. Also, before you import large chunks of code that have not been assigned to the FSF, you should get approval from Stallman. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

inetlib

2006-07-06 Thread Per Bothner
http://www.gnu.org/software/classpath/inetlib.html talks about inetlib. However, I don't see any links to download the code, nor any detailed (api or tutorial) documentation. The left sidebar has a "Download" link, but that only has links for downloading Classpath proper. -

Re: ATTENTION: Prospect of merging HEAD with the generics branch

2006-06-02 Thread Per Bothner
Andrew John Hughes wrote: Forwarded Message From: Per Bothner <[EMAIL PROTECTED]> To: GCC Mailing List , [EMAIL PROTECTED] Subject: Re: GCC SC request about ecj Date: Fri, 02 Jun 2006 10:59:58 -0700 Richard stallman write last night: I agree to the use of the E

Re: New OpenSource AWT/Swing Implementation by Intel

2006-05-20 Thread Per Bothner
ould be cleared with the FSF. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Where's the love?

2006-03-10 Thread Per Bothner
Dalibor Topic wrote: On Fri, Mar 10, 2006 at 12:20:02AM -0800, Per Bothner wrote: Harmony appears to be basically an attempt at a hostile takeover of the Free Java movement. They're all in favor of cooperation - as long as it is 100% on their terms. Complete surrender is all they will a

Re: Where's the love?

2006-03-10 Thread Per Bothner
gests otherwise. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Where's the love?

2006-03-09 Thread Per Bothner
w the developers to provide Classpath under an Apache compatible license in addition to the current licensing scheme, The FSF's hope is that GPL3 will be such a license. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: idl to java compiler:There is the IDL language description file under BSD. Can we use it?

2006-03-06 Thread Per Bothner
or at least said they would), though said they'd work on fixing the problem for 4.1. Until this is fixed, I don't think jpackage or Fedora or Debian (for example) should be distributing javacc, unless they put it under "non-free". -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: idl to java compiler:There is the IDL language description file under BSD. Can we use it?

2006-03-06 Thread Per Bothner
is very lackadaisical when it comes to licensing issues, so ClassPath (as a GNU project) needs to be very cautious about including javacc code. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Next release

2006-03-01 Thread Per Bothner
1.3 (does anyone remember what was new in 1.3?) Classpath 4.0 imlements JDK 1.4 Classpath 5.0 implements Java 5 aka JDK 1.5 Classpath 6.0 implements Java 6 aka JDK 1.6 So we can release Classpath 1.0 now (after a little more testing) and Classpath 2.0 in half a year, maybe. -- --Per

Re: GNU classpath contribution question

2006-02-02 Thread Per Bothner
Ken Larson wrote: Let's say for example standard Java defines some constant like FileFormat.BINARY. The Javadoc does not specify the value of this constant. Actually, it probably does: http://java.sun.com/j2se/1.5.0/docs/api/constant-values.html -- --Per Bothner [EMAIL PROT

Re: New native layer

2006-01-31 Thread Per Bothner
and is generally inappropriate. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/

Re: Win CE port

2006-01-21 Thread Per Bothner
Roman Kennke wrote: Hi there, Am Freitag, den 20.01.2006, 13:05 -0800 schrieb Per Bothner: Mark Wielaard wrote: Hi Phillipe, On Fri, 2006-01-20 at 15:03 +0100, Philippe Laporte wrote: It is our understanding that a GPL VM can't be freely redistributed in a commercial pr

Re: Win CE port

2006-01-20 Thread Per Bothner
have to freely redistributing source for the commercial product. (Of course we know that Free ("open-source") Software is not incompatible with it being commercial (i.e. for-profit) - but it is incompatible with it being proprietary ("closed-source").) -- --P

Re: hashCode question (was Re: Silly Java question)

2005-12-27 Thread Per Bothner
a bug. One should be able to change toString before better output or debuggability without breaking equals. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailm

Re: hashCode question (was Re: Silly Java question)

2005-12-27 Thread Per Bothner
ement if equals has been redefined. And I often put in a sequence number in the toString result, for debugging. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/ma

Re: XML parsing problems

2005-12-25 Thread Per Bothner
tage: More complex. After a reset, then a read(byte[],int, int) will only get S-M bytes. Assuming buffer alignment isn't an issue, then I'd say use a combination of (1) if possible and (2) if needed. -- --Per Bothner [EMAIL PROTECT

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Per Bothner
ed up. Subversion is basically a "better cvs", centralized in the same way, arch is oriented towards a more distributed setup. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpa

Re: Proposal: Graphics2D rewrite branch

2005-12-07 Thread Per Bothner
ll; offset = buf; } DataBufferInt(int[] arr) { array = arr; offset = SIZE_OF_ARRAY_HEADER; } int[] getData () { int[] ar = new int[size]; copy_form_native_buffer_into(ar); array = ar; offset = SIZE_OF_ARRAY_HEADER; } } This works even if the array is moved by the

Re: Patches to java.util.zip by Christian Schlichtherle

2005-08-31 Thread Per Bothner
int32) i; signed int32 js = (signed int32) j; Then (i COMP j) if and only if ((signed int32) (is ^ 0x80) COMP (signed int32) (js & 0x8000)). Which is probably faster than: ((long) (is & 0x) COMP (long) (js & 0x)) -- --Per Bothner [EMAIL PROTE

Re: Help needed to persuade apaches about the Classpath license.

2005-08-11 Thread Per Bothner
there any justification for Apache to allow (b) but not (a)? -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: String.equals optimisation

2005-07-11 Thread Per Bothner
the same class, but (x!=y) in they were defined in different classes. People expect that ("a"=="a"). -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: XML strictness

2005-05-30 Thread Per Bothner
mewhat more restricted, but if you want to use DOM to support XQuery/XPath/XSLT objects it makes sense to allow more generality. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://

An Eclispe style for GNU

2005-05-30 Thread Per Bothner
odest encoding and fine-tuning of existing styles. (I still mostly use Emacs.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothne

Free jsr reference implementations?

2005-03-22 Thread Per Bothner
manage it. It might be useful to get his story too. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: benchmarks (was Re: Progress on a Classpath mauve suite?)

2005-03-08 Thread Per Bothner
a who've spent person-decades putting together a very nice Java implementation. It's a shame that politics are preventing us from using either. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: javax.swing.text.rtf.RTFEditorKit

2005-03-03 Thread Per Bothner
Dalibor Topic wrote: Their licensing on JavaCC seems to be all over the place, really. I reported this as an "issue": https://javacc.dev.java.net/issues/show_bug.cgi?id=69 No response of any kind. -- --Per Bothner [EMAIL PROTECTED] http://per.b

Re: OT: Eclipse Additions

2005-02-21 Thread Per Bothner
fixed, at least for Java. I haven't tested M5a yet. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=68506 (Though this bug was about the formatter, not the editor.) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpa

Re: OT: Eclipse Additions

2005-02-21 Thread Per Bothner
el build.xml, it should (after asking) Do The Right Thing to set up a "Java Ant-based project" rather than a plain "Java project". If I'm doing things wrong, I'd very much appreciate a "cookbook" for how this is sup

Re: OT: Eclipse Additions

2005-02-21 Thread Per Bothner
two stanadrd GNU styles: "GNU, with tabs" and "GNU, without tabs". -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list Classpath@gnu.org http://lists.gnu.org/mailman/listinfo/classpath

Re: Modules names and other details for new classpath bug product

2005-02-14 Thread Per Bothner
ot;. This does not necessaily mean using the same cvs (or snv) repository, though that is an option. It does mean marking bugs in bugzilla in as *if* they were branches. It would require thinking about naming convention for "target milestones" etc. -- --Per Bothner [EMA

Re: Eclipse command line formatter

2005-01-11 Thread Per Bothner
://bugs.eclipse.org/bugs/show_bug.cgi?id=73104 Hopefully we'll have something usable soon. I also suggest we submit a standard "GNU" coding style, and ask them to include it as a standard formatting style. -- --Per Bothner [EMAIL PROTECTED] http://

Re: Eclipse

2004-10-25 Thread Per Bothner
an share code between the gcj compiler and runtime, maybe it can be parameterized further so it can be plugged into other VMs?) -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://

Re: clickthrough license

2004-10-10 Thread Per Bothner
gazine articles. However, avoiding the official Sun-licensed specification doesn't protect you from patent or trademark issues. And Sun has trademarked "Java", so if you implement a class called java.lang.String then you could conceivably be infringing on Sun's trademark. That

Re: clickthrough license

2004-10-10 Thread Per Bothner
off the hook here. If nothing else the classes and API's in the java* namespaces would fall under Sun's copyright. You mean Sun's trademark, not copyright, of course. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___

Re: bug 10491 was Re: More astonishing progress in japi scores

2004-10-07 Thread Per Bothner
ze for the glibc case. If on non-glibc platforms floating-point conversion isn't quite as exact as the spec requires, fixing that is not a priority. Of course if somebody wants to work on a more portable solution, that is great, as lang as it doesn't penalize the glibc case. --

Re: bug 10491 was Re: More astonishing progress in japi scores

2004-10-07 Thread Per Bothner
trtod may not be accurate. Note that parseDouble is required to return the *closest* double. This is a difficult requirement to meet, and cannot be done by simple (i.e. traditional) implementations. If the strtod in glibc is threadsafe *and* accurate, then we should probably use it, at least as a defa

Re: clickthrough license

2004-10-04 Thread Per Bothner
s with working on Classpath, but I don't think there is an essential conflict. A strict cleanroom approach would keep implementors from directly accessing either Sun's implementation or specification, but such strict separation is not legally required, and we don't have the resources for it. -

Re: clickthrough license

2004-10-04 Thread Per Bothner
reading the specification is a risk, I suspect it falls into the "necessary" category. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

Re: redundant field initializers

2004-09-20 Thread Per Bothner
instance fields, if some code change the field value before the initialization is assigned. For exmple: class Z { static int peek() { return j++; } static int i = peek(); static int j = 0; } -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com

Re: Working On Classpath

2004-05-27 Thread Per Bothner
n, and gcj-compiled .so files. I'd like to make a compatible kawa-NNN.rpm ... -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: [Jikesrvm-core] Re: gnu.java.nio.channels.FileChannelImpl

2004-05-12 Thread Per Bothner
l[Impl] classes. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: [Jikesrvm-core] Re: gnu.java.nio.channels.FileChannelImpl

2004-05-11 Thread Per Bothner
I. The Posix IO functions (open/read/write etc) are available on Windows. I don't know why they're not used - performance? -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] h

Re: Classpath build process and VM-specific issues

2004-04-09 Thread Per Bothner
cult. Yes, it's more elegant to install a single copy of Classpath, but GCJ is not going to use the "system installation" of Classpath, and I wouldn't expect others to do so either. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ __

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Per Bothner
me. I'd rather use jlong. But I don't see any real reason not to use RawData. I can see on a few JVMs it may cause problems, but they can easily sed the source to convert RawData to long. Just think of RawData has a macro. -- --Per Bothner [EMAIL PROTECT

Re: Free Java, the sequel

2004-03-07 Thread Per Bothner
implementation of the JDK 1.2 libraries, let along 1.4 or 1.5. There is also no open-source compiler that (as far as I know) implements the new 1.5 language, and few VMs that implement the debugging/profiling hooks. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com

Re: [Article] Sun Fires Back over Open Source Java Accusations

2004-02-18 Thread Per Bothner
duplicate Sun's work, but of course Sun is under no obligation to us. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

preliminary path for MappedByteBuffer and java.nio changes

2004-02-02 Thread Per Bothner
27;re supposed to use the ByteOrder of a ByteBuffer when the various View classes are created, not whatever the current ByteOrder of the underlying ByteBuffer. Also, the DirectByteBuffer getXxx methods now use ByteBufferHelper. -- --Per Bothner [EMAIL PROTECTED]

Re: JIT pluggability (ABI Issues)

2004-01-12 Thread Per Bothner
s (on most C implementations). But this is less relevant with optimizing compilers and register-based calling conventions. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gn

PATCH for Date.parse

2004-01-03 Thread Per Bothner
er of problems with it. There are almost certainly still bugs in it, but now it shouldn't fail quite so easily. I checked the attached patch into libjava. It should also go into Classpath. I also have a Mauve test case. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ 2004-

Re: [Discuss] UserLinux & free runtimes for java applications

2003-12-21 Thread Per Bothner
. Fedora Core 2 will also supposedly include GCJ-based Tomcat etc. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: [Little Off Topic] Revolution is on ;)

2003-11-29 Thread Per Bothner
Arnaud Vandyck wrote: Tom Tromey GCJ is a free Java front end for EGCS. > This new front end is integrated into the EGCS project. EGCS? New front end? Tom, you're living in the past ... -- --Per Bothner [EMAIL PROTECTED] http://per.bot

Re: new jalopy available

2003-11-20 Thread Per Bothner
personal preference by changing a display parameter (the tab width) without changing any source files. Unfortunately, it's incompatible with the Unix tab-is-8-column "standard". -- --Per Bothner [EMAIL PROTECTED] http://

Re: characters set's problem

2003-11-04 Thread Per Bothner
time. Nowadays, Java uses the full Unicode character set. But rather awkwardly and incompletely. Is there a replacement for java.lang.Character, which only handles 16-bit 'char' values? -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___

Re: org.omg link on Classpath homepage

2003-10-20 Thread Per Bothner
utable? I don't think so. Classpath uses GPL+exception and can be linked with proprietary applications. So someone could almost certainly distribute Classpath + org.omg. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Cl

Re: NYIException

2003-09-29 Thread Per Bothner
ion, but I don't care that much. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: NYIException

2003-09-28 Thread Per Bothner
in meaning True. However to what extent is this useful? -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: NYIException

2003-09-28 Thread Per Bothner
w. I think creating a new non-portable sub-class is solving a non-existent problem. But more important is throwing *some* exception. We *must* fix the current situation where unimplemented methods silently do nothing or return null. -- --Per Bothner [EMAIL PROTECTED] http://per.bothne

Re: NYIException

2003-09-26 Thread Per Bothner
Michael Koch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Freitag, 26. September 2003 19:29 schrieb Per Bothner: We discussed this in March, and there was agreement that we should use use UnsupportedOperationException. See http://gcc.gnu.org/ml/java/2003-03/msg00016.html Its never

Re: NYIException

2003-09-26 Thread Per Bothner
We discussed this in March, and there was agreement that we should use use UnsupportedOperationException. See http://gcc.gnu.org/ml/java/2003-03/msg00016.html -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing

Re: GNU Classpath 0.06 created

2003-08-24 Thread Per Bothner
put pre-releases on alpha.gnu.org, but if you already have a release there seems little point. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: GNU Classpath 0.06 created

2003-08-23 Thread Per Bothner
ion number, I'd call it a release, even if it's not a 1.0 relase. alpha.gnu.org has outlived its usefulness (evidenced by the fact that it is little used) now that "alpha" code is available in CVS for most projects. Note that alpha.gnu.org is not mirrored the way ftp.gnu.org is. -

Re: gnu.java.io.encode.EncoderUTF8.java

2003-08-04 Thread Per Bothner
rUTF8. You could add a flag to EncoderUTF8 file to enable "Java-style UTF8", but it can't be the default. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: GNU Classpath Linuxtag meeting minutes

2003-07-14 Thread Per Bothner
UnsupportedOperationException (REASON); where REASON is a string literal that includes "not implemented" and all on a single line (to make it easy to grep for). See http://gcc.gnu.org/ml/java/2003-03/msg00016.html -- --Per Bothner [EMAIL PROTECTED] http://per.b

Re: javax.swing.plaf; next steps

2003-06-27 Thread Per Bothner
gnu.jemacs.swing.BufferContent class. The latter implements javax.swing.text.AbstractDocument.Content. These are used in the JEmacs implementation that comes with Kawa. -- --Per Bothner [EMAIL PROTECTED] http://per.bothner.com/ ___ Classpath mailing list [EMAIL PROTECTED

Re: Want to help in integrating swing. Really last question.

2003-03-08 Thread Per Bothner
ken care of > assignment paperwork. How does that sound? Which sounds like the best solution. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: More finalize woes

2003-03-06 Thread Per Bothner
is a good idea reason to call super,finalize if super is Object - and I don't think we should warn in that case. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: More finalize woes

2003-03-06 Thread Per Bothner
Brian Jones wrote: Per Bothner <[EMAIL PROTECTED]> writes: >Many projects, including gcc itself, prohibit warnings. Then what is the purpose of -Wall? :) To enable a bunch of warnings for questionable code. The CVS head of gcc is compiled with -Wall -Werror. The latter turns warnings in

Re: More finalize woes

2003-03-06 Thread Per Bothner
les. Yes, but only if the JVM does the recommended optimization. I don't know if GCJ does. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: More finalize woes

2003-03-06 Thread Per Bothner
ompiler warning, and the user would be free to ignore it. Many projects, including gcc itself, prohibit warnings. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/m

Re: unimplemented methods

2003-03-01 Thread Per Bothner
N is a string literal that includes "not implemented" and all on a single line (to make it easy to grep for). -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

unimplemented methods

2003-03-01 Thread Per Bothner
. E.g: public URI (String scheme, String ssp, String fragment) throws URISyntaxException { throw new UnsupportedOperationException(); } -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [E

Re: Method.equals() question

2003-02-28 Thread Per Bothner
se to create a new one each time it is requested than try to cache it. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath / GCJ java.io Merge

2003-02-27 Thread Per Bothner
oid *' pointer. This may not be portable to other VMs directly, but you could have a script convert gnu.gcj.RawData to int or long, depending on the target word size. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___

Re: Classpath / GCJ java.io Merge

2003-02-27 Thread Per Bothner
r the hard bits, we could use #ifdef CNI sections. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: java.net.URI implementation

2003-02-10 Thread Per Bothner
Giannis Georgalis wrote: Yes, you are right. So what you are suggesting is a hand-written parser, don't you ? Yes. I generally prefer hard-written parsers and scanners anyway, and in the case I certainly think a generated would be inappropriate. -- --Per Bothner [EMAIL PROTECTED]

Re: java.net.URI implementation

2003-02-10 Thread Per Bothner
t the URI objects are immutable. That means that as soon as the parsing is complete, the parser object is *dead*. But you still have to allocate the parser object(s), which a hand-written parser doesn't have to. And object allocation is relatively expensive, in the context of parsing a URI.

Re: java.net.URI implementation

2003-02-10 Thread Per Bothner
en. Of course a complicated Perl-style regular expression with backtracking will be very difficult to implement by hand, but parsing URIs shouldn't need that. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing

Re: BSD-licensed library code?? Re: Suns JVM-Code under BSD-license

2002-11-27 Thread Per Bothner
Anthony Green wrote: I have not looked at the source other than this. What am I missing? Did Sun just release swing, etc under a BSD license?? Probably not intentionally ... -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per

Re: Wonka & Classpath

2002-11-10 Thread Per Bothner
who asked. I think that is a feature, not a bug in the license. We want to encourage people to submit improvements. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org

Re: japize

2002-10-01 Thread Per Bothner
ere is limited support for re-ordering code.) (I would like change it to use "basic blocks" as the fundamental unit, using the algorithms I wrote for gcc/java/jcf-write.c, but I haven't had time.) gnu.bytecode is compatible with the GPL. -- --Per Bothner [E

Re: gcj -bootclasspath doesn't work anymore?

2002-09-04 Thread Per Bothner
this should be taken out - it doesn't even match the documentation. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: OT: GPL and jar file

2002-08-17 Thread Per Bothner
t the same problem would occur, if anyone would > include classpath code in a non-GPLed project, so I thought you might have an > answer. But Classpath is not GPL - it is GPL with an extra exception allowing you to link it with proprietary code. -- --Per B

Re: OT: GPL and jar file

2002-08-16 Thread Per Bothner
t;mere aggregation"); but if B depends on A, I wouldn't try it. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

debug output problem in ObjectInputStream

2002-04-02 Thread Per Bothner
+ Array.get(array, i)); This makes it possible for a compiler to do the optimization to multiple print calls that my patch does. Alteratively, I suggest just removing all the dumpElement calls. -- --Per Bothner [EMAIL PROTECTED] http:

Re: java.lang.StrictMath

2002-02-14 Thread Per Bothner
system with a good JIT, it is probably faster to use Java code. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: java.lang.StrictMath

2002-02-14 Thread Per Bothner
quot; rule: The implementation must behave *as if* it used the specified algorithm or code, but as long as no valid program can tell the difference, the implementation is free to use some other algorithm. -- --Per Bothner [EMAIL PROTECTED] http://www

Re: nio package and asynchronous io

2002-02-04 Thread Per Bothner
fer size (capacity), sizne the limit is always less than te capacity, at least if we assume a GCJMappedByteBuffer or whatever. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://ma

Re: State of AWT

2002-01-30 Thread Per Bothner
ample code and documentation is available for Gtk1). -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: java.awt status LGPL -> GPL?

2001-10-30 Thread Per Bothner
I would not be too hasty about changing any files quite yet. I (in my capacity as a member of the Gcc steering comittee) am pushing for a better resolution of this issue. --Per ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailm

Re: java.math.*

2001-10-28 Thread Per Bothner
learn) could write the code to generate the correct serilaization direcectly without using temporary fields. (Even better would be to avoid generating temporary objects when serializing, but I'll settle for getting rid of the extra fields.) --Per Bothner ___

Re: Fw: java.beans.beancontext.BeanContextSupport

2001-09-17 Thread Per Bothner
Anthony Green wrote: >Hey Per -- > >Perhaps you're not on the classpath list... > No. >>BeanContextSupport is used by Jetty. I believe Per had Jetty working with >>GCJ, >> No, I don't recall working on Jetty. I've played with Jigsaw and gnu-paperclips; I believe i got the former basically

Re: Java tools

2001-07-10 Thread Per Bothner
Alexandre Petit-Bianco <[EMAIL PROTECTED]> writes: > Per Bothner writes: > > > If someone wants a javap replacement in Java, you can use > > gnu.bytecode.dump > > OT: Is the libjava tree the primary tree? I've been looking for an > implementation of

Re: Java tools

2001-07-10 Thread Per Bothner
one wants a javap replacement in Java, you can use gnu.bytecode.dump -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Java tools

2001-07-10 Thread Per Bothner
ategories. The libiberty library is an example. A regex library or getopt are other possible examples. The GCC project emcompasses both kinds of code; classpath focuses on "target libraries". -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

  1   2   >