Which applications run using Harmony classes?

2006-02-09 Thread zoe slattery
I've tried to post this a couple of times from another mail account - but it seems to go into a black hole - apologies if another two copies turn up later :-( I had some thoughts about running applications using Harmony classes. Rather than just getting various applications and trying them with

running eclipse on Harmony classlib

2006-02-09 Thread Vladimir Strigun
I'm able to run eclipse on Harmony classlib + J9 VM. To run Eclipse you need to make following steps: - download xalan.jar, xercesImpl.jar, xml-apis.jar and serializer.jar from xml.apache.org and put it to deploy/jre/lib/boot/ - add next line to jre/lib/boot/bootclasspath.properties :

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

2006-02-09 Thread Geir Magnusson Jr
Stepan Mishura wrote: Hi Geir, For the record, I put the jvmarg line back - I did some test class renaming, and things broke! I put it back, and all is well. Dunno. Leaving there so it doesn't break anyone else. Will continue to chase down after dinner crypto.jar and x_net.jar are not

Re: Location for API extensions

2006-02-09 Thread Geir Magnusson Jr
Anton Avtamonov wrote: We have agreed on org.apache.harmony package as a root package for private implementation stuff. Only because we're the Apache Harmony project :) As I understand the major part of the functionality located there is some kind of utility stuff used from different

Re: Which applications run using Harmony classes?

2006-02-09 Thread Geir Magnusson Jr
zoe slattery wrote: I've tried to post this a couple of times from another mail account - but it seems to go into a black hole - apologies if another two copies turn up later :-( I had some thoughts about running applications using Harmony classes. Rather than just getting various

Re: Location for API extensions

2006-02-09 Thread Tim Ellison
Anton Avtamonov wrote: We have agreed on org.apache.harmony package as a root package for private implementation stuff. As I understand the major part of the functionality located there is some kind of utility stuff used from different places (packages) and therefore moved out from the API

Re: running eclipse on Harmony classlib

2006-02-09 Thread Tim Ellison
Vladimir Strigun wrote: I'm able to run eclipse on Harmony classlib + J9 VM. To run Eclipse you need to make following steps: - download xalan.jar, xercesImpl.jar, xml-apis.jar and serializer.jar from xml.apache.org and put it to deploy/jre/lib/boot/ - add next line to

Re: Which applications run using Harmony classes?

2006-02-09 Thread Tim Ellison
Would be good to get Japitools reports going on the Harmony codebase too. Regards, Tim Geir Magnusson Jr wrote: zoe slattery wrote: I've tried to post this a couple of times from another mail account - but it seems to go into a black hole - apologies if another two copies turn up later

Re: [classlib] security2 - security

2006-02-09 Thread Tim Ellison
+1 to consolidating on a single security module. I'm also interested to hear what merging Mikhail has in mind. I was led to believe that security2 was a proper superset of security, so we should be able to do a 'big bang' switch. The security_orig won't be too far away if we need to pull

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

2006-02-09 Thread Tim Ellison
Geir Magnusson Jr wrote: Stepan Mishura wrote: Hi Geir, For the record, I put the jvmarg line back - I did some test class renaming, and things broke! I put it back, and all is well. Dunno. Leaving there so it doesn't break anyone else. Will continue to chase down after dinner

Re: Location for API extensions

2006-02-09 Thread Geir Magnusson Jr
Tim Ellison wrote: Anton Avtamonov wrote: We have agreed on org.apache.harmony package as a root package for private implementation stuff. As I understand the major part of the functionality located there is some kind of utility stuff used from different places (packages) and therefore moved

Re: [classlib] security2 - security

2006-02-09 Thread Geir Magnusson Jr
Tim Ellison wrote: +1 to consolidating on a single security module. I'm also interested to hear what merging Mikhail has in mind. I was led to believe that security2 was a proper superset of security, so we should be able to do a 'big bang' switch. The security_orig won't be too far away if

[Fwd: svn commit: r376144 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/make/build.xml]

2006-02-09 Thread Tim Ellison
Arghhh! make it stop From below: -Xbootclasspath/a:${build.path}/tests${path.separator}${env.CLASSPATH} putting the CLASSPATH onto the bootclasspath. What are you smokin' ?! [ I know you are fixing this stuff, but I needed to vent ] Original Message Subject: svn commit:

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

2006-02-09 Thread Geir Magnusson Jr
Tim Ellison wrote: A while ago I took the old security2 build script and rewrote it to do a LUNI build this way (also factoring out the platform-specific parts to make it extensible). Now I'm using Eclipse and got lazy ;-) I was really trying to use Eclipse, but last night it couldn't do

Re: Location for API extensions

2006-02-09 Thread Anton Avtamonov
org.apache.harmony root of all package names org.apache.harmony.modulename separates module namespaces org.apache.harmony.modulename.something types whose API will be carefully managed. Other modules can use these types in their impl.

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

2006-02-09 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Stepan Mishura wrote: Hi Geir, For the record, I put the jvmarg line back - I did some test class renaming, and things broke! I put it back, and all is well. Dunno. Leaving there so it doesn't break anyone else. Will continue to chase down

Re: [classlib] security2 - security

2006-02-09 Thread Mikhail Loenko
I'm going to walk method by method, compare and present results starting with the easiest cases. I've already taken some look at security so I think it would not be very difficult - it has 50+ classes, ~20 of them are exceptions, there are some interfaces... Thanks, Mikhail On 2/9/06, Geir

Re: Location for API extensions

2006-02-09 Thread Geir Magnusson Jr
Anton Avtamonov wrote: Besides, such approach ties them to Harmony if they found such extensions (funtionality, included into packages of 'public access') useful :-) We actually don't want to tie anyone into Harmony other than because we're free, fast, stable, etc. This project *may* at

Re: [Fwd: svn commit: r376144 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/make/build.xml]

2006-02-09 Thread George Harley
Hi, Is it really the case that the BC provider jar needs to be on the boot classpath ? There was some discussion on this a little over a week ago on this thread about the contribution of the beans, math and regex libraries. The post I want to refer to does not seem to be in the mailing list

Re: [Fwd: svn commit: r376144 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/make/build.xml]

2006-02-09 Thread Geir Magnusson Jr
George Harley wrote: Hi, Is it really the case that the BC provider jar needs to be on the boot classpath ? Probably not. There was some discussion on this a little over a week ago on this thread about the contribution of the beans, math and regex libraries. The post I want to refer to

Re: [Fwd: svn commit: r376144 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/make/build.xml]

2006-02-09 Thread George Harley
Hi Geir, Excellent ! Best regards, George IBM UK Geir Magnusson Jr wrote: George Harley wrote: Hi, Is it really the case that the BC provider jar needs to be on the boot classpath ? Probably not. There was some discussion on this a little over a week ago on this thread about the

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

2006-02-09 Thread Vladimir Strigun (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-67?page=comments#action_12365756 ] Vladimir Strigun commented on HARMONY-67: - Looks like duplicate of Harmony-33 java.nio.charset.Charset.decode(ByteBuffer) throws unexpected BufferOverflowException

Re: [jchevm] building jchevm on Cygwin

2006-02-09 Thread Enrico Migliore
Archie Cobbs wrote: What does this program print? /* * Compile me from the top jchevm directory like this: * * cc -I libjc -I include -I libjc/native -I libjc/arch -o xx xx.c */ #include libjc.h int main(int ac, char **av) { printf(_JC_FULL_ALIGNMENT=%u\n, _JC_FULL_ALIGNMENT);

FYI missing mail (was: Re: [Fwd: svn commit: r376144 - /incubator/harmony/enhanced/classlib/trunk/modules/security2/make/build.xml])

2006-02-09 Thread Tim Ellison
George Harley wrote: snip The post I want to refer to does not seem to be in the mailing list archive (!!??!) I don't remember you saying that (and I would have remembered such an eloquent and considered post ;-) ) I still have mail that far back in my reader, and it looks like I didn't get it

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Jeremy Huiskamp
What would be the suggested route for coming up with a javadoc tool? Is there something out there now that could be imported and shaped up? At the other extreme, I'm envisioning busting out jflex/cup and doing a from-scratch implementation. I'm thinking there would be a lot of

Harmony JRE plug-in for Eclipse (was: Re: running eclipse on Harmony classlib)

2006-02-09 Thread Tim Ellison
Vladimir Strigun wrote: snip Just interesing: do you used standard eclipse VM runner and VM debugger (I mean classes org.eclipse.jdt.internal.launching.StandardVMRunner and org.eclipse.jdt.internal.launching.StandardVMDebugger) in your plugin ? gasp -- no. No internal stuff, just

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Geir Magnusson Jr
Jeremy Huiskamp wrote: What would be the suggested route for coming up with a javadoc tool? Open up an editor, and start typing! :) Is there something out there now that could be imported and shaped up? At the other extreme, I'm envisioning busting out jflex/cup and doing a

Re: Location for API extensions

2006-02-09 Thread Geir Magnusson Jr
Matt Benson wrote: --- Geir Magnusson Jr [EMAIL PROTECTED] wrote: Anton Avtamonov wrote: Besides, such approach ties them to Harmony if they found such extensions (funtionality, included into packages of 'public access') useful :-) We actually don't want to tie anyone into Harmony

Re: FYI missing mail

2006-02-09 Thread Geir Magnusson Jr
Tim Ellison wrote: George Harley wrote: snip The post I want to refer to does not seem to be in the mailing list archive (!!??!) I don't remember you saying that (and I would have remembered such an eloquent and considered post ;-) ) I didn't get it either, and as he George said, it's not

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Jeremy Huiskamp
First the disclaimer: I have zero experience with writing such tools and precious little with compilers. I'm just spewing what I think but if there are accepted ways of doing these things, it'd be great for anyone to step in and school me. I'm here to learn, hopefully by contributing :)

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread George Harley
Hi Jeremy, Whatever you feel like doing will be better than nothing. (Sorry, I couldn't resist it) George IBM UK Jeremy Huiskamp wrote: First the disclaimer: I have zero experience with writing such tools and precious little with compilers. I'm just spewing what I think but if there are

[jira] Updated: (HARMONY-83) java.net.URL(String, String, int port, String) throws MalformedURLException when port is 65535

2006-02-09 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-83?page=all ] Tim Ellison updated HARMONY-83: --- Summary: java.net.URL(String, String, int port, String) throws MalformedURLException when port is 65535 (was: java.net.URL(String, String, int port, String)

[jira] Resolved: (HARMONY-83) java.net.URL(String, String, int port, String) throws MalformedURLException when port is 65535

2006-02-09 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-83?page=all ] Tim Ellison resolved HARMONY-83: Resolution: Fixed Svetlana, Your proposed fix is incorrect because tests show that 1.4 and 1.5 do throw the exception for ports -1. Fixed in LUNI

[jira] Assigned: (HARMONY-76) some clean-up after HARMONY-55 fix is desired

2006-02-09 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-76?page=all ] Tim Ellison reassigned HARMONY-76: -- Assign To: Geir Magnusson Jr A gift some clean-up after HARMONY-55 fix is desired - Key:

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Tim Ellison
You may find it useful to take a look at the Eclipse Java AST APIs, http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.jdt.doc.isv/reference/api/org/eclipse/jdt/core/dom/AST.html http://www-128.ibm.com/developerworks/opensource/library/os-ast/?ca=dgr-lnxw97ASTParser

Re: running eclipse on Harmony classlib

2006-02-09 Thread Stefano Mazzocchi
Vladimir Strigun wrote: I'm able to run eclipse on Harmony classlib + J9 VM. To run Eclipse you need to make following steps: - download xalan.jar, xercesImpl.jar, xml-apis.jar and serializer.jar from xml.apache.org and put it to deploy/jre/lib/boot/ - add next line to

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Jeremy Huiskamp
Lovely, that's exactly the kind of pointers that'll help me :) Another thing occurred to me this evening, and that is that xdoclet must be extremely similar to javadoc. I will have a poke around with that too and see if it isn't doable. Jeremy On 9-Feb-06, at 6:03 PM, Tim Ellison wrote:

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Anthony Green
On Thu, 2006-02-09 at 13:41 -0500, Geir Magnusson Jr wrote: We were planning to just use the eclipse compiler. No reason to rewrite. Didn't you just write in this thread that you need all the tooling? What makes the compiler special? If you can non-Apache FOSS licensed tools, why not just use

[jira] Created: (HARMONY-84) java.net.InetAddress() shouldn't perform reverse name lookup

2006-02-09 Thread Paulex Yang (JIRA)
java.net.InetAddress() shouldn't perform reverse name lookup Key: HARMONY-84 URL: http://issues.apache.org/jira/browse/HARMONY-84 Project: Harmony Type: Bug Components: Classlib Reporter: Paulex

[jira] Commented: (HARMONY-84) java.net.InetAddress() shouldn't perform reverse name lookup

2006-02-09 Thread Paulex Yang (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-84?page=comments#action_12365837 ] Paulex Yang commented on HARMONY-84: A suggested simple fix is rewrite the toString() as below: code public String toString() { return

Re: [tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-02-09 Thread Jeremy Huiskamp
I was wondering about this myself. I went and slogged through the epl and had trouble gathering exactly what the license restrictions were. From what I could tell, most of it was just disclaimer. What is the official apache stance on epl code? Jeremy On 9-Feb-06, at 11:48 PM, Anthony

[jira] Commented: (HARMONY-73) java.net.InetAddress.getLocalHost() returns wrong host name for loopback address

2006-02-09 Thread Paulex Yang (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-73?page=comments#action_12365843 ] Paulex Yang commented on HARMONY-73: Further study shows that the prior patch is not needed, in fact, my proposed fix for issue 84

[jira] Commented: (HARMONY-82) wrong signature for 2 constructors in java.net.DatagramPacket

2006-02-09 Thread Svetlana Samoilenko (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-82?page=comments#action_12365845 ] Svetlana Samoilenko commented on HARMONY-82: Verified on revision 376009. Two constrictors have correct sinhature. Thanks. wrong signature for 2 constructors in

[jira] Commented: (HARMONY-72) java.net.URLConnection.setAllowUserInteraction (boolean b) throws unspecified SecurityException

2006-02-09 Thread Svetlana Samoilenko (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-72?page=comments#action_12365848 ] Svetlana Samoilenko commented on HARMONY-72: Verified on revision 376014. Expected IllegalStateException exception is thrown. Thanks.

[jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError

2006-02-09 Thread Svetlana Samoilenko (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-71?page=comments#action_12365851 ] Svetlana Samoilenko commented on HARMONY-71: Verified on revision 376014. Expected IllegalStateException exception is thrown. Thanks.

Re: [jira] Updated: (HARMONY-73) java.net.InetAddress.getLocalHost() returns wrong host name for loopback address

2006-02-09 Thread Paulex Yang
As I commented in the JIRA, further study shows some interesting facts, first, my prior patch is redundant, the actual bug is http://issues.apache.org/jira/browse/HARMONY-84. second, there is another different behavior of getHostName() between RI and Harmony, but I consider it as RI's bug:

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

2006-02-09 Thread Svetlana Samoilenko (JIRA)
java.util.jar.Attributes.Name(String name) does not throw IllegalArgumentException if name.length 70 -- Key: HARMONY-85 URL: http://issues.apache.org/jira/browse/HARMONY-85

Re: Location for API extensions

2006-02-09 Thread Alexey Petrenko
As it said before it is not a good idea to positioning any Harmony classes as extension for the standard API. However we can think about creating some standalone utilities library. But there are a lot of questions. For example what structure and content should such library have. What classes

Re: Location for API extensions

2006-02-09 Thread Mikhail Loenko
Agreed And if we have some internal classes that users could benefit from then we may provide usage examples or even tools that utilize those classes. I have an example. Security2 has implementation of ASN.1 that is internal stuff but has its own value. And it has a document for developers who

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

2006-02-09 Thread Stepan Mishura
On 2/9/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Stepan Mishura wrote: Hi Geir, For the record, I put the jvmarg line back - I did some test class renaming, and things broke! I put it back, and all is well. Dunno. Leaving there so it doesn't break anyone else. Will continue

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

2006-02-09 Thread Svetlana Samoilenko (JIRA)
java.util.zip.Inflater.needsDictionary() throws unspecified IllegalStateException - Key: HARMONY-86 URL: http://issues.apache.org/jira/browse/HARMONY-86 Project: Harmony Type: Bug

[jira] Commented: (HARMONY-83) java.net.URL(String, String, int port, String) throws MalformedURLException when port is 65535

2006-02-09 Thread Svetlana Samoilenko (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-83?page=comments#action_12365854 ] Svetlana Samoilenko commented on HARMONY-83: Tim , thank you, I agree with your fix. Verified on revision 376452. java.net.URL(String, String, int port,

Re: Which applications run using Harmony classes?

2006-02-09 Thread Alexey Petrenko
That will be a good tool! The next step would be to check how many of these exist in SVN already - and maybe highlight the areas that we are missing? So far, the only way I have found to get a list of files that exist in SVN is using something like svn list $repos_path -R, if anyone knows of