Why was Rhino support (com.sun.script.javascript.*) removed between OpenJDK 6 and 7?
The packages specifying Rhino support, `com.sun.
Specifically, this code should return `2` but throws a `NullPointerExc
try {
} catch (ScriptException e) {
// TODO Auto-generated catch block
}
This might very well be the cause of [openjdk-7 bug #920214][2]. According to [Oracle bug #6876736][3], this is indeed a distro bug.
Note that when Rhino was included in OpenJDK 6, it caused package conflicts ([openjdk-6 bug #255149][4], [Debian bug #512970][5]) .
OS: Ubuntu 11.10
OpenJDK version: 7~b147-
[1]: http://
[2]: https:/
[3]: http://
[4]: https:/
[5]: http://
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu openjdk-7 Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Yuval S for more information if necessary.