Re: [classlib] do we need a global exclude list?

2006-02-15 Thread Geir Magnusson Jr
Stepan Mishura wrote: Did anybody think of creating a 'global' (i.e. shared by all modules) exclude list or every module will have its own exclude list? Or Harmony tests will always pass and we don't need it at all :-) That would be the goal :) I see at least the following benefits of creat

Re: newbie to project-where to start from

2006-02-15 Thread Geir Magnusson Jr
I think we should certainly be using Muave for testing. However, that doesn't remove the need for our own unit tests to be testing implementation internals. Would you like to help us get it working in our build/test framework? geir Stuart Ballard wrote: Tim Ellison gmail.com> writes: We a

Re: newbie to project-where to start from

2006-02-15 Thread Geir Magnusson Jr
James Pluck wrote: Just piggybacking on this. I've been on the mailing list for some months now and have downloaded the code and been brwosing through it. I'm a reasonably adept programmer but this is a very major project and it's a little daunting to know just where to begin. I'd appreciat

Re: newbie to project-where to start from

2006-02-15 Thread Geir Magnusson Jr
Tim Ellison wrote: Pick a module [1] that interests you and from there the test code is in /src/test/java/org.apache.harmony.tests..Test.java where and are the package and type under test; see here [2] for an example. I'm not convinced that we should only use this package convention for te

Re: I welcome J2SE 6's faster-splash.... re: Java speed-up

2006-02-15 Thread Dalibor Topic
Fernando Cassia gmail.com> writes: > I wonder why no one has tought about having java auto-load at startup and > having a single instance of the Java VM running all the time, and then pass > control of the first loaded java application to it (as Mozilla or Firefox > pre-loads itself at boot time

Re: NDA issues and acceptable use of sun source (was: Re: JavaSound Was: java.sql.*)

2006-02-15 Thread Dalibor Topic
Leo Simons leosimons.com> writes: > Since the JDK stuff is now all mostly out in the public, and most NDAs > are effectively voided once the information they are meant to protect is > available through other means not involving an NDA. Missing the cue by just a few days, Sun Microsystems proudly

[jira] Updated: (HARMONY-64) java.nio.charset.Charset.forName(String name) does not throw UnsupportedCharsetException if valid name starts with "x-"

2006-02-15 Thread Richard Liang (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-64?page=all ] Richard Liang updated HARMONY-64: - Attachment: ICUInterface34.dll libICUInterface34.so ICU team has fixed this bug. Here are the libraries I build from icu4jni's latest code.

I welcome J2SE 6's faster-splash.... re: Java speed-up

2006-02-15 Thread Fernando Cassia
On 2/16/06, Stefano Mazzocchi <[EMAIL PROTECTED]> wrote: > > > which implements a very interesting trick to speed up java startup > performance: save the hotspot information in a repository (at JVM shut > down) so that the JIT doesn't have to wait when it starts until it knows > what is a hotspot t

[classlib] do we need a global exclude list?

2006-02-15 Thread Stepan Mishura
Did anybody think of creating a 'global' (i.e. shared by all modules) exclude list or every module will have its own exclude list? Or Harmony tests will always pass and we don't need it at all :-) I see at least the following benefits of creating 'global' exclude list: all know issues are kept in o

[jira] Created: (HARMONY-95) Extract auth component from 'security2' module

2006-02-15 Thread Stepan Mishura (JIRA)
Extract auth component from 'security2' module -- Key: HARMONY-95 URL: http://issues.apache.org/jira/browse/HARMONY-95 Project: Harmony Type: Task Components: Classlib Reporter: Stepan Mishura 'security2' module i

Re: compiling JCHEVM with GCC/Cygwin

2006-02-15 Thread Enrico Migliore
snowdosker wrote: Many thanks, Enrico and Archie. Finally I built JCHEVM. This two jcjavah.exe and cfdump.exe printout help text when started, but jc.exe fail with message "The application failed to initialize properly (0xc005)". Any ideas what does it mean? I guess library linking prob

Re: newbie to project-where to start from

2006-02-15 Thread Mikhail Loenko
I mixed with Emma - both of them of 4 chars :) http://emma.sourceforge.net Mikhail On 2/16/06, Matthew Johnson <[EMAIL PROTECTED]> wrote: > JCSC is a Java Coding Standard Checker - ie, just conformance, not > coverage. There's a good list of code coverage tools at > http://java-source.net/ope

RE: newbie to project-where to start from

2006-02-15 Thread Matthew Johnson
JCSC is a Java Coding Standard Checker - ie, just conformance, not coverage. There's a good list of code coverage tools at http://java-source.net/open-source/code-coverage. Matt > -Original Message- > From: Mikhail Loenko [mailto:[EMAIL PROTECTED] > Sent: Thursday, 16 February 2006 4:0

Increasing Java Startup Performance

2006-02-15 Thread Stefano Mazzocchi
I went to a this talk this morning http://www.csail.mit.edu/events/eventcalendar/calendar.php?show=event&id=978 that presented the paper found at http://www.research.ibm.com/people/m/marnold/arnold-welc-rajan.final.pdf which implements a very interesting trick to speed up java startup perform

Re: newbie to project-where to start from

2006-02-15 Thread Mikhail Loenko
Hi Karan if there is some area that you are interesting in the most, you might want to say it and people who developed classes in that area could advise for which of them are untested. All, I think it makes sense to include into the build a target that calculates coverage - that would advise peo

Re: newbie to project-where to start from

2006-02-15 Thread karan malhi
Tim, Thanks for such a detailed reply. I have a couple of more questions: 1. Do I have to sign and fax back the questionnaire before I start working on harmony ? 2. I know this is dumb but I saw in some previous posts that the tests were being compiled with jrockit. I guess I can use any compi

Re: newbie to project-where to start from

2006-02-15 Thread Stuart Ballard
Tim Ellison gmail.com> writes: > We are using JUnit, so your test class extends junit.framework.TestCase. > Each test method is "public void test_()" where is > the method under test including param types; e.g. [3]. Apologies if I'm (re)opening a can of worms here, but is there some reason why

Re: newbie to project-where to start from

2006-02-15 Thread James Pluck
Just piggybacking on this. I've been on the mailing list for some months now and have downloaded the code and been brwosing through it. I'm a reasonably adept programmer but this is a very major project and it's a little daunting to know just where to begin. I'd appreciate any suggestions of whe

Re: newbie to project-where to start from

2006-02-15 Thread Tim Ellison
karan malhi wrote: > I need to know how I can start on harmony. I would like to start by > writing some tests. That would be great -- thanks Karan! If you have detailed knowledge of another implementation of Java then we need to talk further, otherwise dive right in. Examples of 'detailed knowle

Platform dependent code placement (was: Re: repo layout again)

2006-02-15 Thread Andrey Chernyshev
Hi All, Sorry for my late attempt to resurrect this thread, but I'm not sure if we've already came to a well-defined picture here: On 1/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> Some more platform tree names: > >> > >> solaris32.sparc solaris64.sparc > >> linux32.sparc linux

newbie to project-where to start from

2006-02-15 Thread karan malhi
I need to know how I can start on harmony. I would like to start by writing some tests. Here are my questions : 1. Are there any predefined assertions to test or do we simply write test after looking at the api docs for each method 2. Are there any naming conventions for test cases 3. When one

[jira] Commented: (HARMONY-80) serialVersionUID is missed in org.ietf.jgss.GSSException

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-80?page=comments#action_12366531 ] Tim Ellison commented on HARMONY-80: Stepan, Can you confirm that Harmony's GSSException has the correct serialized form? It should be: int major int minor Strin

build problems (was: Re: [jchevm] porting harmony classlib to JCHEVM)

2006-02-15 Thread Tim Ellison
what build problems do you have? Regards, Tim Weldon Washburn wrote: > Tim, > Good points below. I have a first cut at a kernel_path/Thread.java > that glues Harmony Class Library to GNU Classpath compatible VM > (jchevm). I will post it as soon as I get it to compile. Then we > will have som

[jira] Resolved: (HARMONY-79) java.util.jar.Attributes.put(Object name, Object value) doesn't throw ClassCastException

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-79?page=all ] Tim Ellison resolved HARMONY-79: Resolution: Fixed Svetlana/Nathan, Fixed in ARCHIVE module java.util.jar.Attributes at repo revision 378067. Please check that this fully resolves your p

[jira] Assigned: (HARMONY-79) java.util.jar.Attributes.put(Object name, Object value) doesn't throw ClassCastException

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-79?page=all ] Tim Ellison reassigned HARMONY-79: -- Assign To: Tim Ellison > java.util.jar.Attributes.put(Object name, Object value) doesn't throw > ClassCastException > -

Re: [jchevm] porting harmony classlib to JCHEVM

2006-02-15 Thread Weldon Washburn
Tim, Good points below. I have a first cut at a kernel_path/Thread.java that glues Harmony Class Library to GNU Classpath compatible VM (jchevm). I will post it as soon as I get it to compile. Then we will have some code for a debate on what parts (if any) can be sucked into the baseline kerne

Re: compiling JCHEVM with GCC/Cygwin

2006-02-15 Thread snowdosker
Many thanks, Enrico and Archie. Finally I built JCHEVM. This two jcjavah.exe and cfdump.exe printout help text when started, but jc.exe fail with message "The application failed to initialize properly (0xc005)". Any ideas what does it mean? I guess library linking problems. But have no ide

[vm] finalization subsystem design

2006-02-15 Thread Zakirov, Salikh
Hi, I would like to discuss a design of finalization subsystem. Note, that these are my thoughts only, they have not been really implemented yet. Some of the design issues are still not clear, so I am looking forward to hear your opinion. Thanks a lot! == 0. Introduction. The

Re: compiling JCHEVM with GCC/Cygwin

2006-02-15 Thread Enrico Migliore
snowdosker wrote: Enrico Migliore wrote: snowdosker wrote: Hello Enrico I'm trying to build JCHEVM following your steps described at http://www.mail-archive.com/harmony-dev@incubator.apache.org/msg03212.html I was able to build Classpath sucsesfuly, but fail making JCHEVM In result I h

Re: [jchevm] porting harmony classlib to JCHEVM

2006-02-15 Thread Tim Ellison
Geir Magnusson Jr wrote: > Archie Cobbs wrote: >> Compare Classlib's Thread.java: >> >> trunk/modules/kernel/src/main/java/java/lang/Thread.java >> >> with these files from Classpath: >> >> http://cvs.savannah.gnu.org/viewcvs/classpath/java/lang/Thread.java?rev=1.17&root=classpath&view=markup >>

[jira] Commented: (HARMONY-67) java.nio.charset.Charset.decode(ByteBuffer) throws unexpected BufferOverflowException for UTF-16BE, UTF-16LE, UTF-16 charsets.

2006-02-15 Thread Vladimir Strigun (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-67?page=comments#action_12366469 ] Vladimir Strigun commented on HARMONY-67: - I don't think that this bug should be reopened. Possibly it's another "compatibility" bug, and I'll try to explain why. Spec

Re: [classlib] proposal to revisit componentization for security (was: Re: problems with security2)

2006-02-15 Thread Tim Ellison
Mikhail Loenko wrote: > Sounds reasonable. > > Sure, I can make 'getInstance' functionality visible as an internal API. > > So we put classes that has many internal dependencies into the same component, > but not only that. For example java.lang.Error and java.lang.Ecxeption do not > have intern

Re: [classlib] proposal to revisit componentization for security (was: Re: problems with security2)

2006-02-15 Thread Mikhail Loenko
Sounds reasonable. Sure, I can make 'getInstance' functionality visible as an internal API. So we put classes that has many internal dependencies into the same component, but not only that. For example java.lang.Error and java.lang.Ecxeption do not have internal dependencies but we put them into

[jira] Closed: (HARMONY-86) java.util.zip.Inflater.needsDictionary() throws unspecified IllegalStateException

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-86?page=all ] Tim Ellison closed HARMONY-86: -- Verified by Svetlana > java.util.zip.Inflater.needsDictionary() throws unspecified > IllegalStateException >

[jira] Closed: (HARMONY-85) java.util.jar.Attributes.Name(String name) does not throw IllegalArgumentException if name.length > 70

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-85?page=all ] Tim Ellison closed HARMONY-85: -- Verified by Svetlana. > java.util.jar.Attributes.Name(String name) does not throw > IllegalArgumentException if name.length > 70 > --

Re: [classlib] proposal to revisit componentization for security (was: Re: problems with security2)

2006-02-15 Thread Tim Ellison
Mikhail Loenko wrote: > There is coupling. > BTW... Could you give an example of "close" and "weak" coupling? Sure. The goal is to define modules that represent functional units whose implementation can be contained within the module as much as possible. The measure of coupling is the number of

[jira] Reopened: (HARMONY-67) java.nio.charset.Charset.decode(ByteBuffer) throws unexpected BufferOverflowException for UTF-16BE, UTF-16LE, UTF-16 charsets.

2006-02-15 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-67?page=all ] Tim Ellison reopened HARMONY-67: > java.nio.charset.Charset.decode(ByteBuffer) throws unexpected > BufferOverflowException for UTF-16BE, UTF-16LE, UTF-16 charsets. >

Re: [classlib] creating a new snapshot, and planned breakage heads-up

2006-02-15 Thread Tim Ellison
Nathan Beyer wrote: > Not that my vote counts for a huge amount, it does with me ... you have sent in good patches, so I care what you think. > but as long as there's a new IBM > Harmony VME or alternative available in a reasonable amount of time, do as > you please. The plan is to make the VME

Re: [classlib] build / test system

2006-02-15 Thread Alexey Petrenko
2006/2/15, Geir Magnusson Jr <[EMAIL PROTECTED]>: > Stepan Mishura wrote: > > I need sync. with repository once a day, for example, in the morning to get > > yours and Tim's last updates :-) . And during a working day I may do dozen > > workspace builds. So each build will verify whether used jar f

Re: [classlib:security2] bootclasspath for security tests [HARMONY-58]

2006-02-15 Thread Stepan Mishura
I agree that we should separate API that provides authorization, authentication and secure communication into a standalone module. If there will be no objections I'm going to create a JIRA task to do separation. Thanks, Stepan On 2/15/06, Mikhail Loenko gmail.com> wrote: > > Geir > > As you ca

Re: [classlib] build / test system

2006-02-15 Thread Mikhail Loenko
Geir As I understand you, not every time I build it will go online, so, what are the exact conditions for the build to go to some external site? Thanks, Mikhail. On 2/15/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote: > > > Stepan Mishura wrote: > > I need sync. with repository once a day, for