From dalibor.topic at oracle.com Mon Aug 1 08:10:14 2011 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Mon, 01 Aug 2011 17:10:14 +0200 Subject: merging BSDPort into jdk mainline In-Reply-To: References: <3374420F-94DC-4728-86A0-DC64D54A7A92@apple.com> <3AFC8A4F-CBC4-4D0E-8FA7-24E29329B9B2@apple.com> Message-ID: <4E36C1D6.2060504@oracle.com> On 7/28/11 9:41 PM, Henri Gomez wrote: >>> Another question about JDK7/8, bsd-port (and so macosx-port). >>> What about support of processors arch like PPC and ARM via Zero project ? >>> Could we expect JDK7 (or may be JDK8) to have Zero Project in the mainline ? >> >> That's already the case. Zero was merged in some time ago. > > Sorry but I'm confuse. Did you mean Zero has been merged into JDK 7 or JDK 8 ? Yes, in 2009/2010. See http://icedtea.classpath.org/wiki/ZeroSharkFaq#What_is_the_status_of_Zero_and_Shark.3F for details. cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From swingler at apple.com Tue Aug 9 11:59:26 2011 From: swingler at apple.com (Mike Swingler) Date: Tue, 09 Aug 2011 11:59:26 -0700 Subject: What is the base revision for the current port of JDK 7 on Mac? In-Reply-To: <4E4182C1.7050701@oracle.com> References: <4E4182C1.7050701@oracle.com> Message-ID: <698334B7-8FF1-4D2A-97B6-C0189ED2F64B@apple.com> On Aug 9, 2011, at 11:56 AM, Sandeep Konchady wrote: > Hi, > > What baseline of JDK/OpenJDK is the Mac JDK port based off of? I'd like to know what revisions of HotSpot, Libraries etc are used. This should help me understand how to set the baseline for my testing results. Is there a document/Wiki with this information? It is currently the 1.7.0_b00 of OpenJDK. We are holding that version for now. Regards, Mike Swingler Java Engineering Apple Inc. From henri.gomez at gmail.com Mon Aug 22 00:56:53 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Mon, 22 Aug 2011 09:56:53 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 Message-ID: Hi guys, Any ideas why Rhino is not included in bsd-port (and sus osx-port) ? All sun/org/mozilla/javascript/* classes are not available in bsd-port and sus osx-port, whereas they are bundled on Linux JDK7 package ? Regards From henri.gomez at gmail.com Tue Aug 23 05:18:16 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Tue, 23 Aug 2011 14:18:16 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <4E539643.2070301@oracle.com> References: <4E539643.2070301@oracle.com> Message-ID: >> All sun/org/mozilla/javascript/* classes are not available in bsd-port >> and sus osx-port, whereas they are bundled on Linux JDK7 package ? > > AFAIK, these classes are a part of Oracle JDK7, but not OpenJDK7, and > therefore are not included to BSD/MacOSX ports. Part of Oracle JDK ? Does it means, they aren't available to OS/X / FreeBDS users ? From dalibor.topic at oracle.com Tue Aug 23 05:37:08 2011 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Tue, 23 Aug 2011 14:37:08 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: References: <4E539643.2070301@oracle.com> Message-ID: <4E539EF4.5070607@oracle.com> On 8/23/11 2:18 PM, Henri Gomez wrote: >>> All sun/org/mozilla/javascript/* classes are not available in bsd-port >>> and sus osx-port, whereas they are bundled on Linux JDK7 package ? >> >> AFAIK, these classes are a part of Oracle JDK7, but not OpenJDK7, and >> therefore are not included to BSD/MacOSX ports. > > Part of Oracle JDK ? Does it means, they aren't available to OS/X / > FreeBDS users ? You can find Rhino here: https://www.mozilla.org/rhino/ cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From henri.gomez at gmail.com Tue Aug 23 06:12:27 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Tue, 23 Aug 2011 15:12:27 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <4E539EF4.5070607@oracle.com> References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> Message-ID: >>> AFAIK, these classes are a part of Oracle JDK7, but not OpenJDK7, and >>> therefore are not included to BSD/MacOSX ports. >> >> Part of Oracle JDK ? Does it means, they aren't available to OS/X / >> FreeBDS users ? > > You can find Rhino here: https://www.mozilla.org/rhino/ I know for Rhino, question was about sun/org/mozilla/javascript classes not bundled in BSD/OSX build. Did there is a special trick in Oracle builds (Windows / Linux), to get them bundled with OpenJDK 7 ? From dalibor.topic at oracle.com Tue Aug 23 06:27:07 2011 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Tue, 23 Aug 2011 15:27:07 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> Message-ID: <4E53AAAB.9030700@oracle.com> On 8/23/11 3:12 PM, Henri Gomez wrote: >>>> AFAIK, these classes are a part of Oracle JDK7, but not OpenJDK7, and >>>> therefore are not included to BSD/MacOSX ports. >>> >>> Part of Oracle JDK ? Does it means, they aren't available to OS/X / >>> FreeBDS users ? >> >> You can find Rhino here: https://www.mozilla.org/rhino/ > > I know for Rhino, question was about sun/org/mozilla/javascript > classes not bundled in BSD/OSX build. > Did there is a special trick in Oracle builds (Windows / Linux), to > get them bundled with OpenJDK 7 ? > Like some other open source components (VisualVM, for example), they are not included in the OpenJDK source code. If you need them, you can get them from their upstream. A good idea tends to be to move the org.mozilla.javascript classes to a different namespace to avoid clashes with a user-supplied rhino.jar, like sun.org.mozilla.javascript. cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From henri.gomez at gmail.com Tue Aug 23 06:49:23 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Tue, 23 Aug 2011 15:49:23 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <4E53AAAB.9030700@oracle.com> References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> Message-ID: > Like some other open source components (VisualVM, for example), they > are not included in the OpenJDK source code. If you need them, you > can get them from their upstream. Yep so there is specific builds or steps to add/inject them in BDS/OSX packages ? Did the build/packages phases source or phases description for Linux / Solaris, as bundled by Oracle are available somewhere ? I see mention of Rhino in various files on OpenJDK build, so I was wondering if there was an automatic way to have them bundled, for example by dropping Rhino (or ViualVM) components sources/binaries at some place. > A good idea tends to be to move the org.mozilla.javascript classes > to a different namespace to avoid clashes with a user-supplied > rhino.jar, like sun.org.mozilla.javascript. Yes, I saw that also on xerces/xalan in previous Sun JDK. > cheers, > dalibor topic Thanks for your help From drazzib at drazzib.com Tue Aug 23 06:56:38 2011 From: drazzib at drazzib.com (Damien Raude-Morvan) Date: Tue, 23 Aug 2011 15:56:38 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> Message-ID: <6c00a2571e08b0c373482e3a546f3cbe@drazzib.com> Hi Henri, On Tue, 23 Aug 2011 15:49:23 +0200, Henri Gomez wrote: >> Like some other open source components (VisualVM, for example), they >> are not included in the OpenJDK source code. If you need them, you >> can get them from their upstream. > > Yep so there is specific builds or steps to add/inject them in BDS/OSX > packages ? > Did the build/packages phases source or phases description for Linux / > Solaris, as bundled by Oracle are available somewhere ? I think you can check what's achieved by Icedtea build harness project. Icedtea include some tool to "rewrite" class from an existing rhino.jar to sun.org.mozilla package for bundling into OpenJDK distribution. You can have a look to call to com.redhat.rewriter.ClassRewriter : http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/Makefile.am#l2036 ClassRewriter source code is here (under AGPL-3.0) : http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/rewriter Hope this help. Cheers, -- Damien From henri.gomez at gmail.com Tue Aug 23 07:19:30 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Tue, 23 Aug 2011 16:19:30 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <6c00a2571e08b0c373482e3a546f3cbe@drazzib.com> References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> <6c00a2571e08b0c373482e3a546f3cbe@drazzib.com> Message-ID: > Hi Henri, Hi Damien > I think you can check what's achieved by Icedtea build harness project. > Icedtea include some tool to "rewrite" class from an existing rhino.jar > to sun.org.mozilla package for bundling into OpenJDK distribution. Perfect, > You can have a look to call to com.redhat.rewriter.ClassRewriter : > http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/Makefile.am#l2036 > ClassRewriter source code is here (under AGPL-3.0) : > http://icedtea.classpath.org/hg/icedtea7/file/8ac25d11a9e5/rewriter > > Hope this help. It should help yes, now should figure how to inject these in bsd/osx OpenJDK make files From mark at talios.com Tue Aug 23 09:42:42 2011 From: mark at talios.com (Mark Derricutt) Date: Wed, 24 Aug 2011 04:42:42 +1200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <4E53AAAB.9030700@oracle.com> References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> Message-ID: Dalibor, I was one of people asking Henri about the lack, the problem I was facing is that upstream rhino doesn't include the javax.scripting extensions for rhino. I had heard somewhere that Mozilla didn't accept Suns changes into their mainline branch for reasons unknown but that was prior to being opensourced. Henri - I did just remember about http://scripting.dev.java.net from a few years ago that I think was maintaining a large set of javax.scripting bridges, possibly even rhino so I'll take a look at that when I fully wake up in a few hours. It would be a shame if this wasnt available longterm, I remember for a while the Apple jdk also didn't include rhino and broke our code. mark -- Sent from an Android On Aug 24, 2011 1:29 AM, "Dalibor Topic" wrote: > On 8/23/11 3:12 PM, Henri Gomez wrote: >>>>> AFAIK, these classes are a part of Oracle JDK7, but not OpenJDK7, and >>>>> therefore are not included to BSD/MacOSX ports. >>>> >>>> Part of Oracle JDK ? Does it means, they aren't available to OS/X / >>>> FreeBDS users ? >>> >>> You can find Rhino here: https://www.mozilla.org/rhino/ >> >> I know for Rhino, question was about sun/org/mozilla/javascript >> classes not bundled in BSD/OSX build. >> Did there is a special trick in Oracle builds (Windows / Linux), to >> get them bundled with OpenJDK 7 ? >> > > Like some other open source components (VisualVM, for example), they > are not included in the OpenJDK source code. If you need them, you > can get them from their upstream. > > A good idea tends to be to move the org.mozilla.javascript classes > to a different namespace to avoid clashes with a user-supplied > rhino.jar, like sun.org.mozilla.javascript. > > cheers, > dalibor topic > -- > Oracle > Dalibor Topic | Java F/OSS Ambassador > Phone: +494023646738 | Mobile: +491772664192 > Oracle Java Platform Group > > ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg > > ORACLE Deutschland B.V. & Co. KG > Hauptverwaltung: Riesstr. 25, D-80992 M?nchen > Registergericht: Amtsgericht M?nchen, HRA 95603 > > Komplement?rin: ORACLE Deutschland Verwaltung B.V. > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande > Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 > Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven > > Green Oracle Oracle is committed to developing practices and products that help protect the environment -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20110824/9239ff0c/attachment.html From dalibor.topic at oracle.com Wed Aug 24 05:24:57 2011 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Wed, 24 Aug 2011 14:24:57 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> Message-ID: <4E54ED99.7090001@oracle.com> On 8/23/11 3:49 PM, Henri Gomez wrote: >> Like some other open source components (VisualVM, for example), they >> are not included in the OpenJDK source code. If you need them, you >> can get them from their upstream. > > Yep so there is specific builds or steps to add/inject them in BDS/OSX > packages ? Looking at http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html I'd say no, as there is no mention of it there. > Did the build/packages phases source or phases description for Linux / > Solaris, as bundled by Oracle are available somewhere ? The build instructions for JDK 7 are at the URL above, if that's what you mean. cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From dalibor.topic at oracle.com Wed Aug 24 05:35:33 2011 From: dalibor.topic at oracle.com (Dalibor Topic) Date: Wed, 24 Aug 2011 14:35:33 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> Message-ID: <4E54F015.2010504@oracle.com> On 8/23/11 6:42 PM, Mark Derricutt wrote: > Dalibor, > > I was one of people asking Henri about the lack, the problem I was facing is that upstream rhino doesn't include the javax.scripting extensions for rhino. > The jdk7 source code contains a jdk7u/jdk/src/share/classes/com/sun/script/javascript/ directory - is that what you're looking for? cheers, dalibor topic -- Oracle Dalibor Topic | Java F/OSS Ambassador Phone: +494023646738 | Mobile: +491772664192 Oracle Java Platform Group ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 M?nchen Registergericht: Amtsgericht M?nchen, HRA 95603 Komplement?rin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Gesch?ftsf?hrer: J?rgen Kunz, Marcel van de Molen, Alexander van der Ven Green Oracle Oracle is committed to developing practices and products that help protect the environment From henri.gomez at gmail.com Wed Aug 24 05:53:01 2011 From: henri.gomez at gmail.com (Henri Gomez) Date: Wed, 24 Aug 2011 14:53:01 +0200 Subject: Rhino on bsd-port/osx-port OpenJDK 7 In-Reply-To: <4E54ED99.7090001@oracle.com> References: <4E539643.2070301@oracle.com> <4E539EF4.5070607@oracle.com> <4E53AAAB.9030700@oracle.com> <4E54ED99.7090001@oracle.com> Message-ID: >> Yep so there is specific builds or steps to add/inject them in BDS/OSX >> packages ? > > Looking at http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html > I'd say no, as there is no mention of it there. > >> Did the build/packages phases source or phases description for Linux / >> Solaris, as bundled by Oracle are available somewhere ? > > The build instructions for JDK 7 are at the URL above, if that's what you mean. Thanks for the link. I'll try to build an OpenJDK 7 on Linux to check.