Re: [Fwd: [classlib][NIO|VMI]Interruptible channel implementation - how to interact with Thread?]

2006-06-22 Thread Paulex Yang
Archie Cobbs wrote: Paulex Yang wrote: Actually I propose the default value of "interrupt action" is null, which means the VM will do what it suppose to do for the general cases(wait(), join(), etc) as before, so the interrupt() might looks like: public void interrupt(){ if(action != null

RI's bug of Socket.getOutputStream().write(byte[]) ?

2006-06-22 Thread Andrew Zhang
Hi everybody, It seems RI Socket.getOutputStream().write(byte[]) doesn't send all data sometimes. Consider following test, which often blocks on RI: public void test_SocketChannel_BlockWriteRead() throws IOException { final int CAPACITY_NORMAL = 200; InetSocketAddress localAddr

Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/

2006-06-22 Thread Jean-frederic Clere
Mark Hindess wrote: Tests failed for me (and the linux build machine) with: Incorrect host name returned: localhost.localdomain != localhost junit.framework.AssertionFailedError: Incorrect host name returned: localhost.localdomain != localhost at tests.api.java.net.InetAddressTest.test_ge

Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/

2006-06-22 Thread Mark Hindess
Tests failed for me (and the linux build machine) with: Incorrect host name returned: localhost.localdomain != localhost junit.framework.AssertionFailedError: Incorrect host name returned: localhost.localdomain != localhost at tests.api.java.net.InetAddressTest.test_getHostName(InetAddre

Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/

2006-06-22 Thread Andrew Zhang
Hi Stepan, Maybe it needs configure /etc/hosts ? I'm not sure. I configured the host file on windows, the test passes. :) Thanks! On 6/23/06, Stepan Mishura <[EMAIL PROTECTED]> wrote: Hi George, InetAddressTest and SocketPermissionTest still fails for me on Linux. For example, InetAddressT

Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/

2006-06-22 Thread Stepan Mishura
Hi George, InetAddressTest and SocketPermissionTest still fails for me on Linux. For example, InetAddressTest.test_getAllByNameLjava_lang_String failed with: Incorrect number of aliases returned: 2 should be 1 junit.framework.AssertionFailedError: Incorrect number of aliases returned: 2 should b

Re: [DRLVM] building from svn on FC5

2006-06-22 Thread Naveen Neelakantam
Hello Geir, I downloaded a fresh copy of harmony from svn and got the same error. To be clear, these were my steps: > svn checkout https://svn.apache.org/repos/asf/incubator/harmony > cd harmony/enhanced/drlvm/trunk/build > chmod +x build.sh > ./build.sh update > ./build.sh And then I got t

Re: [classlib] Merging frameworks for testing serialization - first step

2006-06-22 Thread Stepan Mishura
Hi, I've updated framework for testing serialization page[1] - I added guidelines for developing serialization tests. Also I've removed confusing 'TestCase' parameter in SerializationTest.verifySelf() methods. If there are no objections I'm going in next two days to move SerializationTest.java f

Re: [drlvm] Doing the minimum to support Java 5 classfiles

2006-06-22 Thread Geir Magnusson Jr
This sounds easy and fun. What's the first thing we do? geir Rana Dasgupta wrote: > Geir, > Not sure at what level of detail you are asking, but we need some > changes in the DRLVM class support code to handle the new > class format. These include the acc_synthetic , acc_annotation etc. acce

RE: [classlib] Help wanted!

2006-06-22 Thread Nathan Beyer
Yeah, I noticed that. Unfortunately, it can only be used luni for now, since the compiler is turning it into an interface class. The sooner we move to 1.5 class files the better; I'm tired of the weird 1.5 source to 1.4 class file behavior that's basically undefined. > -Original Message- >

Re: svn commit: r416344 - /incubator/harmony/enhanced/classlib/trunk/make/build-java.xml

2006-06-22 Thread Geir Magnusson Jr
not quite what I meant. I want to be able to have a "build.properties" file in by /trunk directory that is personal, not checked in, that lets me override stuff. I was playing with it by adding a before the in build.xml, and the problem seems to be that our invocation of build-java is "inhe

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Geir Magnusson Jr
Archie Cobbs wrote: > Geir Magnusson Jr wrote: >>> Can we snapshot a few things together (jchevm, classlibadapter, drlvm, >>> classlib)? Probably in separate archives still at this point? >> >> Yes. I think that we'd want 3 : >> >> 1) classlib >> 2) drlvm + classlib >> 3) jchevm + adapater + cl

Re: [drlvm] build works on linux

2006-06-22 Thread Geir Magnusson Jr
Gregory Shimansky wrote: > On Friday 23 June 2006 02:18 Geir Magnusson Jr wrote: We would be able to do it if really necessary, but I'd rather avoid if we can. I do think that the current DRLVM shows that it can be avoided (so we have a way for people to get started) as well as

Re: [drlvm] build works on linux

2006-06-22 Thread Gregory Shimansky
On Friday 23 June 2006 02:18 Geir Magnusson Jr wrote: > >> We would be able to do it if really necessary, but I'd rather avoid if > >> we can. I do think that the current DRLVM shows that it can be avoided > >>(so we have a way for people to get started) as well as the > >> flexibility for peo

[drlvm] [classlib] Running specjvm98

2006-06-22 Thread Gregory Shimansky
Hello I've tried to run specjvm98 on Linux on drlvm and encountered several problems with it. I've created JIRA HARMONY-644 with those which I could resolve, I don't want to repeat what I wrote in comments there already. I have several questions yet after it. 1. Is it ok to modify Applet to ex

Re: [DRLVM] building from svn on FC5

2006-06-22 Thread Geir Magnusson Jr
Odd. Nothing should have changed re log4cxx Sure nothing else changed? geir [EMAIL PROTECTED] wrote: > I just tried building DRLVM out of svn on FC5, and it has a > build error that I've seen before. This issue was resolved > when I was using r413745, but now I am using r416471 and it > is

Re: [drlvm] build works on linux

2006-06-22 Thread Geir Magnusson Jr
Gregory Shimansky wrote: > On Friday 23 June 2006 00:44 Geir Magnusson Jr wrote: >>> Does something prevent us from keeping these binaries under SVN >>> similarly how the icu libraries are kept? Is there any licensing >>> issues given that APR/Log are Apache projects? >>> These binaries will have

Re: [DRLVM] building from svn on FC5

2006-06-22 Thread neelakan
I just tried building DRLVM out of svn on FC5, and it has a build error that I've seen before. This issue was resolved when I was using r413745, but now I am using r416471 and it is back. The error is below: Thanks, Naveen build.native.cpp: [cc] Starting dependency analysis for 136 f

Re: [drlvm] build works on linux

2006-06-22 Thread Gregory Shimansky
On Friday 23 June 2006 00:44 Geir Magnusson Jr wrote: > > Does something prevent us from keeping these binaries under SVN > > similarly how the icu libraries are kept? Is there any licensing > > issues given that APR/Log are Apache projects? > > These binaries will have to be prepared & stored for

Re: [classlib]hythreads implementation

2006-06-22 Thread Tim Ellison
Marina Goldburt wrote: > Hi, > > I've noticed such a strange thing when examined drlvm building process. > The drlvm replaces hythreads shared library with its own simple > implementation based on APR. The drlvm hythreads library exports less > than 1/2 functions comparing with the original hythr

Re: svn commit: r416344 - /incubator/harmony/enhanced/classlib/trunk/make/build-java.xml

2006-06-22 Thread Tim Ellison
Sure -- done in r416469. Regards, Tim Geir Magnusson Jr wrote: > should we make this a property with a default so we can set it arbitrarily? > > Not asking you to do it, but just wondering how people feel about having > that sort of thing... > > geir > > [EMAIL PROTECTED] wrote: >> Author: tel

Re: [drlvm] build works on linux

2006-06-22 Thread Geir Magnusson Jr
Andrey Chernyshev wrote: >> I now have drlvm working w/ independent classlib and configure/make >> building of APR on linux. > > This is great, thanks! One more suggestion - what if we try using the > precompiled binaries for APR, Log4cxx? What I want to do is remove the dependency builds compl

Re: Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Tim Ellison
I agree, it should return -1 as per spec. Regards, Tim Mikhail Loenko wrote: > Then I believe we should go spec > > Thanks, > Mikhail > > 2006/6/22, Andrew Zhang <[EMAIL PROTECTED]>: >> Hi Mikhail, >> >> So far as I know, only the socket obtained from SocketChannel returns 0 >> instead of -1. >

Re: [drlvm] the build.... why?

2006-06-22 Thread Geir Magnusson Jr
Well, this is something to look at going forward. So far, none of the core build process has been changed, just how dependencies are handled. geir Andrey Chernyshev wrote: >> > As far as I understand, the trick with preprocessing XML files >> allows to keep >> > platform-specific configuration

Re: [drlvm] build works on linux

2006-06-22 Thread Andrey Chernyshev
I now have drlvm working w/ independent classlib and configure/make building of APR on linux. This is great, thanks! One more suggestion - what if we try using the precompiled binaries for APR, Log4cxx? Their compilation takes the significant time and may be extra cause of various building issue

Re: [drlvm] Help building on Windows!

2006-06-22 Thread Andrey Chernyshev
On 6/21/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote: You can always take a look at what command lines build calls C compiler if you call build.bat with -d switch (it is just passed to ant). I am not sure if it One more tip to see what Ant really executes for you is to run: build.sh -verbo

Re: [drlvm] the build.... why?

2006-06-22 Thread Andrey Chernyshev
> As far as I understand, the trick with preprocessing XML files allows to keep > platform-specific configuration compactly in one readable file. > And by the way, the XML transformation (what you call "meta build" system) is > only limited to filtering XML fragments based on the detected platform

Re: [drlvm] Doing the minimum to support Java 5 classfiles

2006-06-22 Thread Rana Dasgupta
Geir, Not sure at what level of detail you are asking, but we need some changes in the DRLVM class support code to handle the new class format. These include the acc_synthetic , acc_annotation etc. access modifiers, the new attrs like enclosingClass, runtime visible/invisible attrs, signature

Re: svn commit: r416344 - /incubator/harmony/enhanced/classlib/trunk/make/build-java.xml

2006-06-22 Thread Geir Magnusson Jr
should we make this a property with a default so we can set it arbitrarily? Not asking you to do it, but just wondering how people feel about having that sort of thing... geir [EMAIL PROTECTED] wrote: > Author: tellison > Date: Thu Jun 22 05:14:48 2006 > New Revision: 416344 > > URL: http://svn

Stack Overflow Error support issues

2006-06-22 Thread Pavel Afremov
Hello. As far as I know, current implementation of DRL VM doesn't support Stack Overflow Error (SOE). I have found it out using following test: public class Stack { static int depth = 0; public static void func() { depth++; func(); } public static void main(String[] a

Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06

2006-06-22 Thread Geir Magnusson Jr
This is now resolved. Waiting for squawks of protest before closing. Things to think about/do : 1) We need richer return codes from procimpl.c execProgram() for windows. 2) I'll find out what config on Ubuntu allowed this behavior (had fork() fail) and we should add a regression for it, and sta

Re: Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Mikhail Loenko
Then I believe we should go spec Thanks, Mikhail 2006/6/22, Andrew Zhang <[EMAIL PROTECTED]>: Hi Mikhail, So far as I know, only the socket obtained from SocketChannel returns 0 instead of -1. If the socket is constructed directly, it returns -1 as spec says. Following test passes against RI

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Archie Cobbs
Geir Magnusson Jr wrote: Can we snapshot a few things together (jchevm, classlibadapter, drlvm, classlib)? Probably in separate archives still at this point? Yes. I think that we'd want 3 : 1) classlib 2) drlvm + classlib 3) jchevm + adapater + classlib (hey, archie, when are you going to ma

Re: [Fwd: [classlib][NIO|VMI]Interruptible channel implementation - how to interact with Thread?]

2006-06-22 Thread Archie Cobbs
Paulex Yang wrote: Actually I propose the default value of "interrupt action" is null, which means the VM will do what it suppose to do for the general cases(wait(), join(), etc) as before, so the interrupt() might looks like: public void interrupt(){ if(action != null){ action.run();

Re: [general] Re: automated builds

2006-06-22 Thread Geir Magnusson Jr
try it - I set it to 330k max now (I asked Mark) Geir Magnusson Jr wrote: > > Tim Ellison wrote: >> Geir Magnusson Jr wrote: >> >>> I don't remember. I can look it up, but this seems to be a losing >>> proposition. Maybe the solution is to copy the result file to a >>> directory somewhere on p

Re: [general] Re: automated builds

2006-06-22 Thread Geir Magnusson Jr
Tim Ellison wrote: > Geir Magnusson Jr wrote: > >> I don't remember. I can look it up, but this seems to be a losing >> proposition. Maybe the solution is to copy the result file to a >> directory somewhere on people.apache.org and send a pointer or osmething.. > > Isn't this a reasonable fir

Yet more build.xml cleanup...

2006-06-22 Thread Mark Hindess
More items for discussion: 1) Move src/main class files from build to build/classes. I mentioned this a day or two ago so I'm going to do this soon unless anyone objects. 2) Move the archive, luni, nio_char, and text clauses from make/build-test.xml in to the respective module ant files. And

Re: [classlib] [beans] xml resource files in tests

2006-06-22 Thread Alexei Zakharov
Well, the real question I'd like to get an answer for was: is it really impossible to remove the license from these files? 2006/6/22, Alexei Zakharov <[EMAIL PROTECTED]>: Ilya, yes, it is technically possible. But IMHO is not very elegant at the same time. 2006/6/22, Ilya Neverov <[EMAIL PROTEC

Re: Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Paulex Yang
Andrew, How the current Harmony codes looks like? According to our compatibility guideline[1], we should stick to Spec if it is clearly stated. [1] http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html Andrew Zhang wrote: Hi everybody, I found a bug of SocketChannel

Re: [general] Re: automated builds

2006-06-22 Thread Tim Ellison
Geir Magnusson Jr wrote: > I don't remember. I can look it up, but this seems to be a losing > proposition. Maybe the solution is to copy the result file to a > directory somewhere on people.apache.org and send a pointer or osmething.. Isn't this a reasonable first problem to solve? i.e. we (H

Re: Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Andrew Zhang
Hi Mikhail, So far as I know, only the socket obtained from SocketChannel returns 0 instead of -1. If the socket is constructed directly, it returns -1 as spec says. Following test passes against RI without any problem. public void test_socket() throws IOException { Socket s = new Socket(); a

Re: [classlib] [beans] xml resource files in tests

2006-06-22 Thread Alexei Zakharov
Ilya, yes, it is technically possible. But IMHO is not very elegant at the same time. 2006/6/22, Ilya Neverov <[EMAIL PROTECTED]>: Hi, Is it easier to preprocess golden files data before the string comparison? Removing first XML comment with the text "Copyright*Apache" seems to be an action whi

Re: Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Mikhail Loenko
Hi Andrew, have you noticed, does RI return 0 for any unbound socket or only for the sockets obtained from SocketChannel? Thanks, Mikhail 2006/6/22, Andrew Zhang <[EMAIL PROTECTED]>: Hi everybody, I found a bug of SocketChannel.socket() of RI. Consider following test case: public void te

Re: [classlib][math] Location of performance tests (was: Re: performance improvement for java.math package)

2006-06-22 Thread Mikhail Loenko
The first thing that came into my mind is as far as it is a regression test, put somewhere next to the test both old and new Math implementations, measure 'golden' performances and than measure where the current performance in comparison to the golden is. This scenario might be simplified. If you

Re: svn commit: r415915 - /incubator/harmony/enhanced/classlib/trunk/depends/jars/

2006-06-22 Thread Mikhail Loenko
Hi Mark, I've added the things to svn::ignore to not commit the binaries accidently. Mikhail 2006/6/22, Mark Hindess <[EMAIL PROTECTED]>: This change reminded me about something. The big in make/build-java.xml currently has: which means that if you have old versions of d

[general] Re: automated builds

2006-06-22 Thread Geir Magnusson Jr
Tim Ellison wrote: > Geir Magnusson Jr wrote: >> Tim Ellison wrote: > >>> The problem, AIUI, is that we are only building Windows/Linux 32-bit >>> code at the moment, and there is no ASF infrastructure where we can host >>> automated builds on those platforms. >> And I don't think we'll ever have

Re: [classlib] [beans] xml resource files in tests

2006-06-22 Thread Ilya Neverov
Hi, Is it easier to preprocess golden files data before the string comparison? Removing first XML comment with the text "Copyright*Apache" seems to be an action which can not modify content used in the comparison. Thank you. Ilya Neverov, Intel Middleware Products Division On 6/22/06, Alexei Za

automated builds (was: Re: [general] Produce updated snapshots in time for ApacheConEU?)

2006-06-22 Thread Tim Ellison
Geir Magnusson Jr wrote: > Tim Ellison wrote: >> The problem, AIUI, is that we are only building Windows/Linux 32-bit >> code at the moment, and there is no ASF infrastructure where we can host >> automated builds on those platforms. > > And I don't think we'll ever have that as we want in terms

[admin] FYI Tweak to the ACQ

2006-06-22 Thread Tim Ellison
Somebody pointed out to me privately that our contributor questionnaire [1] doesn't explicitly mention JNDI (javax.naming.*) as part of the class library. I'll add it for completeness so people do not have to remember to mention it in the 'other' category. There is no substantial change to the fo

Re: svn commit: r415915 - /incubator/harmony/enhanced/classlib/trunk/depends/jars/

2006-06-22 Thread Mark Hindess
This change reminded me about something. The big in make/build-java.xml currently has: which means that if you have old versions of dependencies in depends/jars/*/*.jar then they will be picked up by the build. I actually saw a compiler error the other day because of th

[classlib] [beans] xml resource files in tests

2006-06-22 Thread Alexei Zakharov
Hi people, While working on java.beans tests I've faced a funny problem. There are tests for XMLEncoder that perform line by line comparison of the encoder's output with static xml files from /test/resources folder (string compare). And it seems that at some point of time someone simply prepend A

[SableVM] please tell us the status of the Apache License 2.0

2006-06-22 Thread Weldon Washburn
Etienne, My apologies if its already been disclosed on harmony-dev. I searched for 20 minutes and could not find anything more recent than: http://sablevm.org/lists/sablevm-devel/2006-March/000620.html -- Weldon Washburn Intel Middleware Products Division

Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06

2006-06-22 Thread Geir Magnusson Jr
And btw, thanks to Tim, Mark and Oliver for thinking about this problem... Geir Magnusson Jr wrote: > thx - I've figured out what's going on... > > fork() is failing > > When I run eclipse w a big max heap, it fails. When it's default heap, > it doesn't. I'd love to claim that it's Eclipe's fa

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Geir Magnusson Jr
Tim Ellison wrote: > Thorbjørn Ravn Andersen wrote: >> Tim Ellison skrev den 22-06-2006 12:49: >>> It has been about a month since our last snapshot, how about we do >>> another in the next few days (in time for ApacheConEU)? >>> >>> Can we snapshot a few things together (jchevm, classlibadapter

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Geir Magnusson Jr
Tim Ellison wrote: > It has been about a month since our last snapshot, how about we do > another in the next few days (in time for ApacheConEU)? Definitely (so we can knock that off the roadmap list :) > > Can we snapshot a few things together (jchevm, classlibadapter, drlvm, > classlib)? Pr

Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06

2006-06-22 Thread Geir Magnusson Jr
thx - I've figured out what's going on... fork() is failing When I run eclipse w a big max heap, it fails. When it's default heap, it doesn't. I'd love to claim that it's Eclipe's fault, but clearly there's some ulimit thingy in Ubuntu. Anyway, I'm going to rework the natives so that fork fail

FW: [jira] Created: (HARMONY-626) Draft of Debugging Guide for DRLVM and JIT

2006-06-22 Thread Morozova, Nadezhda
Folks, I have not been getting much response on this document. Perhaps, I just did not tell loud enough about it :) Please, let me know if the document is any good or what needs to be improved about it. Actually, any kind of feedback is most welcome. If you say the doc might be useful for commun

Re: [Fwd: [classlib][NIO|VMI]Interruptible channel implementation - how to interact with Thread?]

2006-06-22 Thread Paulex Yang
Archie Cobbs wrote: Paulex Yang wrote: I'm still curious what mechanism will be used to wakeup blocked threads though. And when Thread.interrupt() executes the interruptAction and closes the channel, generally the blocking I/O operation will return with an error code, and if Harmony user imp

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Tim Ellison
Thorbjørn Ravn Andersen wrote: > Tim Ellison skrev den 22-06-2006 12:49: >> It has been about a month since our last snapshot, how about we do >> another in the next few days (in time for ApacheConEU)? >> >> Can we snapshot a few things together (jchevm, classlibadapter, drlvm, >> classlib)? Prob

Re: [classlib][math] Location of performance tests (was: Re: performance improvement for java.math package)

2006-06-22 Thread Vladimir Strigun
Mikhail, I can convert it to JUnit, but I'm not pretty sure about returning pass/fail. When you think test should return fail? Results of test execution can be different on different VM's, it also dependent of machine speed, etc. Thanks, Vladimir. On 6/22/06, Mikhail Loenko <[EMAIL PROTECTED]>

Re: build problems

2006-06-22 Thread Tim Ellison
Vladimir Ivanov wrote: > Initial size can be reduced, it works fine. So far… Since the number of > files to compile will only grow as time goes. > Isn't it more general solution compile sources by modules (in same VM, > without fork)? That's how I normally work anyway, and as we have snapshots ava

Re: build problems

2006-06-22 Thread Vladimir Ivanov
Initial size can be reduced, it works fine. So far… Since the number of files to compile will only grow as time goes. Isn't it more general solution compile sources by modules (in same VM, without fork)? Thanks, Vladimir On 6/22/06, Mark Hindess <[EMAIL PROTECTED]> wrote: On 22 June 2006 at 9:

Re: [classlib] Help wanted!

2006-06-22 Thread Tim Ellison
Nathan Beyer wrote: > I've been hacking away at those warnings every chance I get. The 'luni' > module is going to be filled warnings until we can begin using annotations, > specifically the @SuppressWarning, especially the Collections classes. Thanks to George [1] you can now use @SuppressWarning

Re: [general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 22-06-2006 12:49: It has been about a month since our last snapshot, how about we do another in the next few days (in time for ApacheConEU)? Can we snapshot a few things together (jchevm, classlibadapter, drlvm, classlib)? Probably in separate archives still at this point

Re: [classlib]native codes layout question(was Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer)

2006-06-22 Thread Oliver Deakin
Paulex Yang wrote: Oliver Deakin wrote: Paulex Yang wrote: Seems no one objects this proposal:), so I'm going to implement the JNI1.4 enhancement in nio module, i.e, provide patch to Harmony-578, Because this implementation requires some native codes, so I probably need to reintroduce hynio

[general] Produce updated snapshots in time for ApacheConEU?

2006-06-22 Thread Tim Ellison
It has been about a month since our last snapshot, how about we do another in the next few days (in time for ApacheConEU)? Can we snapshot a few things together (jchevm, classlibadapter, drlvm, classlib)? Probably in separate archives still at this point? Regards, Tim -- Tim Ellison ([EMAIL P

Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06

2006-06-22 Thread Tim Ellison
Magnusson, Geir wrote: > Could you send me the code for Process so I can see what's going on > here? :) Process is a boring abstract type, I suspect that you want to look at SystemProcess [1] and the associated natives [2]. [1] http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/tru

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-22 Thread Mark Hindess
On 22 June 2006 at 11:45, =?ISO-8859-1?Q?Thorbj=F8rn_Ravn_Andersen?= <[EMAIL PROTECTED]> wrote: > > Tim Ellison skrev den 22-06-2006 10:37: > > > > Given that ECJ is now a dependency for our emerging javac tool, perhaps > > we should make it the default in the build system too? +1 > Sounds l

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-22 Thread Thorbjørn Ravn Andersen
Tim Ellison skrev den 22-06-2006 10:37: Given that ECJ is now a dependency for our emerging javac tool, perhaps we should make it the default in the build system too? Sounds like a good idea. It also loosens the initial Java requirement on the host system to be a JRE instead of a JDK.

Re: build problems

2006-06-22 Thread Mark Hindess
On 22 June 2006 at 9:28, Tim Ellison <[EMAIL PROTECTED]> wrote: > Mark Hindess wrote: > > On 22 June 2006 at 10:25, "Vladimir Ivanov" <[EMAIL PROTECTED]> wrote: > >> 1) the dependency on ecj_3.2RC5 is not checked: > >> > >> [copy] Copying > >> C:\harmony\trunk_0427\depends\jars\bcprov-jd

Re: [drlvm] what's next?

2006-06-22 Thread Egor Pasko
On the 0x18F day of Apache Harmony Rana Dasgupta wrote: > On 6/20/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: > > > > >Build and dependency issues aside, what are the next functional > > >enhancements / features for DRLVM? > > > > >I think #1 is to get it to function with Java 5 classfiles, so

Re: [classlib] Help wanted!

2006-06-22 Thread Paulex Yang
Nathan Beyer wrote: I've been hacking away at those warnings every chance I get. The 'luni' module is going to be filled warnings until we can begin using annotations, specifically the @SuppressWarning, especially the Collections classes. There are a number of cases where unchecked type uses are

Re: [classlib]native codes layout question(was Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer)

2006-06-22 Thread Paulex Yang
Oliver Deakin wrote: Paulex Yang wrote: Seems no one objects this proposal:), so I'm going to implement the JNI1.4 enhancement in nio module, i.e, provide patch to Harmony-578, Because this implementation requires some native codes, so I probably need to reintroduce hynio.dll(.so), but I have

Re: [drlvm] Doing the minimum to support Java 5 classfiles

2006-06-22 Thread Tim Ellison
There are modest changes to the classfile format that need to be supported; once they are in place we can remove the compiler-hack. Regards, Tim Geir Magnusson Jr wrote: > It seems we're in general agreement that getting DRLVM to deal with Java > 5 classfiles is a good place to start. > > It sup

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-22 Thread Tim Ellison
Geir Magnusson Jr wrote: > > Thorbjørn Ravn Andersen wrote: >> Tim Ellison skrev den 21-06-2006 11:58: >>> The build instructions are here [1], let me know if they need updating. >> Just got around to update and check. >> >> The reference to the build.xml file in the help text shown if the >> dep

Re: [apps] azureus (was Re: [testing] AWT, Swing Java2D)

2006-06-22 Thread Tim Ellison
Thorbjørn Ravn Andersen wrote: > Tim Ellison skrev den 21-06-2006 11:58: >> The build instructions are here [1], let me know if they need updating. > Just got around to update and check. > > The reference to the build.xml file in the help text shown if the > dependencies have not been downloaded

Re: build problems

2006-06-22 Thread Tim Ellison
Mark Hindess wrote: > On 22 June 2006 at 10:25, "Vladimir Ivanov" <[EMAIL PROTECTED]> wrote: >> 1) the dependency on ecj_3.2RC5 is not checked: >> >> [copy] Copying >> C:\harmony\trunk_0427\depends\jars\bcprov-jdk14-133\bcprov.jar to >> C:\harmony\trunk_0427\deploy\jdk\jre\lib\ext\bcprov.

Re: [jira] Created: (HARMONY-638) [classlib] Tests hang on in luni : tests.api.java.io.FileTest / test_setReadOnly on Ubunti 6.06

2006-06-22 Thread Oliver Deakin
Geir Magnusson Jr wrote: Oliver Deakin wrote: Geir Magnusson Jr wrote: However, in our case, when I say "exec never returns" I mean "exec()" never returns. so you'd never actually get to "do IO" above, because you are hanging in exec(). Big difference, right? Certainly

Re: [drlvm] what's next?

2006-06-22 Thread Nektarios K. Papadopoulos
Weldon Washburn wrote: On 6/21/06, Xiao-Feng Li <[EMAIL PROTECTED]> wrote: If no one else is doing it, I will start the porting of SableVM's gen GC into DRLVM. Good idea. Go for it. I talked to Carl Lebsack today. He mentioned that SableVM asked permission to relicense his generational GC

Bug to bug compatibility: SocketChannel.socket().getLocalPort() returns 0 while Harmony returns -1

2006-06-22 Thread Andrew Zhang
Hi everybody, I found a bug of SocketChannel.socket() of RI. Consider following test case: public void test_socket() throws IOException { SocketChannel sc = SocketChannel.open(); Socket socket = sc.socket(); assertFalse(socket.isBound()); // RI returns 0 instead of -1 he