diff --git a/.gitignore b/.gitignore
index 116124d..10a0191 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-SOURCES/Rhino1_7R4_RELEASE.zip
+SOURCES/Rhino1_7R5_RELEASE.zip
diff --git a/.rhino.metadata b/.rhino.metadata
index e32562b..561bd8f 100644
--- a/.rhino.metadata
+++ b/.rhino.metadata
@@ -1 +1 @@
-f210e0a5868c1bbff1a19c8f83ca62dd439fff4e SOURCES/Rhino1_7R4_RELEASE.zip
+55904bc4d58af852f7ae59c25e6e587fc87cadb3 SOURCES/Rhino1_7R5_RELEASE.zip
diff --git a/SOURCES/rhino-1.7R3-crosslink.patch b/SOURCES/rhino-1.7R3-crosslink.patch
index 428632b..bc920eb 100644
--- a/SOURCES/rhino-1.7R3-crosslink.patch
+++ b/SOURCES/rhino-1.7R3-crosslink.patch
@@ -7,5 +7,5 @@ diff -up rhino1_7R3/build.xml~ rhino1_7R3/build.xml
author="true"
+ link="/usr/share/javadoc/java"
windowtitle="${Name}" />
+
-
diff --git a/SOURCES/rhino-1.7R4.pom b/SOURCES/rhino-1.7R4.pom
deleted file mode 100644
index c7ec588..0000000
--- a/SOURCES/rhino-1.7R4.pom
+++ /dev/null
@@ -1,34 +0,0 @@
-
- 4.0.0
- org.mozilla
- rhino
- Mozilla Rhino
- 1.7R4
- jar
- Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.
- https://developer.mozilla.org/en/Rhino
-
-
-
- Mozilla Public License, Version 2.0
- http://www.mozilla.org/MPL/2.0/index.txt
-
-
-
-
- org.sonatype.oss
- oss-parent
- 7
-
-
-
- scm:git:git@github.com:mozilla/rhino.git
- scm:git:git@github.com:mozilla/rhino.git
- git@github.com:mozilla/rhino.git
-
-
-
- The Mozilla Foundation
- http://www.mozilla.org
-
-
diff --git a/SOURCES/rhino-1.7R5.pom b/SOURCES/rhino-1.7R5.pom
new file mode 100644
index 0000000..d173bfd
--- /dev/null
+++ b/SOURCES/rhino-1.7R5.pom
@@ -0,0 +1,39 @@
+
+ 4.0.0
+
+
+ org.sonatype.oss
+ oss-parent
+ 7
+
+
+ org.mozilla
+ rhino
+ Mozilla Rhino
+ 1.7R5
+
+ jar
+
+ Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically
+ embedded into Java applications to provide scripting to end users.
+
+ https://developer.mozilla.org/en/Rhino
+
+
+
+ Mozilla Public License, Version 2.0
+ http://www.mozilla.org/MPL/2.0/index.txt
+
+
+
+
+ scm:git:git@github.com:mozilla/rhino.git
+ scm:git:git@github.com:mozilla/rhino.git
+ git@github.com:mozilla/rhino.git
+
+
+
+ The Mozilla Foundation
+ http://www.mozilla.org
+
+
\ No newline at end of file
diff --git a/SOURCES/rhino-addOrbitManifest.patch b/SOURCES/rhino-addOrbitManifest.patch
index 0179c29..c9def89 100644
--- a/SOURCES/rhino-addOrbitManifest.patch
+++ b/SOURCES/rhino-addOrbitManifest.patch
@@ -4,10 +4,10 @@ diff -up rhino1_7R3/src/manifest.fixManifest rhino1_7R3/src/manifest
@@ -1,6 +1,31 @@
Manifest-Version: 1.0
Main-Class: org.mozilla.javascript.tools.shell.Main
--Implementation-Version: 1.7R4
--Implementation-Title: Mozilla Rhino 1.7R4
-+Implementation-Version: 1.7R4
-+Implementation-Title: Mozilla Rhino 1.7R4
+-Implementation-Version: 1.7R5
+-Implementation-Title: Mozilla Rhino 1.7R5
++Implementation-Version: 1.7R5
++Implementation-Title: Mozilla Rhino 1.7R5
Implementation-Vendor: Mozilla Foundation
-Implementation-URL: http://www.mozilla.org/rhino
\ Chybí znak konce řádku na konci souboru
diff --git a/SOURCES/rhino-backout-686806.patch b/SOURCES/rhino-backout-686806.patch
new file mode 100644
index 0000000..0d4bc16
--- /dev/null
+++ b/SOURCES/rhino-backout-686806.patch
@@ -0,0 +1,371 @@
+diff --git a/src/org/mozilla/javascript/json/JsonParser.java b/src/org/mozilla/javascript/json/JsonParser.java
+index 5079502..0c06d26 100644
+--- a/src/org/mozilla/javascript/json/JsonParser.java
++++ b/src/org/mozilla/javascript/json/JsonParser.java
+@@ -86,23 +86,15 @@ public class JsonParser {
+ }
+
+ private Object readObject() throws ParseException {
+- consumeWhitespace();
+ Scriptable object = cx.newObject(scope);
+- // handle empty object literal case early
+- if (pos < length && src.charAt(pos) == '}') {
+- pos += 1;
+- return object;
+- }
+ String id;
+ Object value;
+ boolean needsComma = false;
++ consumeWhitespace();
+ while (pos < length) {
+ char c = src.charAt(pos++);
+ switch(c) {
+ case '}':
+- if (!needsComma) {
+- throw new ParseException("Unexpected comma in object literal");
+- }
+ return object;
+ case ',':
+ if (!needsComma) {
+@@ -136,21 +128,13 @@ public class JsonParser {
+ }
+
+ private Object readArray() throws ParseException {
+- consumeWhitespace();
+- // handle empty array literal case early
+- if (pos < length && src.charAt(pos) == ']') {
+- pos += 1;
+- return cx.newArray(scope, 0);
+- }
+ List