Rhino build support (original) (raw)
Henri Gomez henri.gomez at gmail.com
Thu Oct 27 06:48:29 UTC 2011
- Previous message: Rhino build support
- Next message: Rhino build support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In the interim, do you think I could include it in my own builds (os/x port) ? Yes, but that is what I am trying to prevent from happening :) Note that IcedTea doesn't really "ship" Rhino itself. But it has configure and build infrastructure to detect the system installed copy of Rhino and transforms that so that it is available as separate module under jre/lib.
If my build process download Rhino first and then setup/update the build to use it, could I use it.
If so, should we rename Rhino classname and patch OpenJDK sources to use these new classes ? Or use rename them like JDJ7u1 do, ie org/mozilla/classfile -> sun/org/mozilla/classfile/internal ?
I notice Oracle JDK7 preview still didn't include them.
JDK7u1 include them :
sun/org/mozilla/classfile/internal/ByteCode.class sun/org/mozilla/classfile/internal/ClassFileField.class sun/org/mozilla/classfile/internal/ClassFileMethod.class sun/org/mozilla/classfile/internal/ClassFileWriter$ClassFileFormatException.class sun/org/mozilla/classfile/internal/ClassFileWriter$StackMapTable.class sun/org/mozilla/classfile/internal/ClassFileWriter.class sun/org/mozilla/classfile/internal/ConstantPool.class sun/org/mozilla/classfile/internal/ExceptionTableEntry.class sun/org/mozilla/classfile/internal/FieldOrMethodRef.class sun/org/mozilla/classfile/internal/SuperBlock.class sun/org/mozilla/classfile/internal/TypeInfo.class sun/org/mozilla/javascript/internal/Arguments.class sun/org/mozilla/javascript/internal/BaseFunction.class sun/org/mozilla/javascript/internal/BeanProperty.class sun/org/mozilla/javascript/internal/BoundFunction.class sun/org/mozilla/javascript/internal/Callable.class sun/org/mozilla/javascript/internal/ClassCache.class sun/org/mozilla/javascript/internal/ClassShutter.class
....
IMHO if a JDK includes javax.script javascript support we should make sure they include the same version and features. So we should try to collect all versions/derivitives of Rhino being used with OpenJDK/IcedTea/ClosedJDK and setup a canonical version (ideally just as a branch of upstream Rhino). That would prevent subtle compatibility issues.
I haven't been able to find the source code for the Rhino variant shipped with the Oracle ClosedJDK. Since it is distributed under the GPL/MPL, I assume the source code is somewhere for users to use, but I might have missed where. Someone from Oracle (Mark R.?) might know where the sources can be fetched from.
What's the status about this ?
- Previous message: Rhino build support
- Next message: Rhino build support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]