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