Rhino on bsd-port/osx-port OpenJDK 7

Mark Derricutt mark at talios.com
Tue Aug 23 09:42:42 PDT 2011


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" <dalibor.topic at oracle.com> 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 <http://www.oracle.com>
> Dalibor Topic | Java F/OSS Ambassador
> Phone: +494023646738 <tel:+494023646738> | Mobile: +491772664192
<tel:+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 <http://www.oracle.com/commitment> 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 


More information about the bsd-port-dev mailing list