Import Debian changes 1.2.2-5.1
[debian/freetts] / debian / patches / disable-custom-loadclass.diff
1 Origin: https://sourceforge.net/p/freetts/discussion/137670/thread/938f4b85/
2 Last-Update: 2018-04-12
3 Description: Disable custom loadClass method
4  Custom loadClass in VoiceManager breaks under Java 9
5  .
6  freetts (1.2.2-5.1) unstable; urgency=low
7  .
8    * Disable custom loadClass in VoiceManager
9 Author: Keith Packard <keithp@keithp.com>
10
11 ---
12
13 --- freetts-1.2.2.orig/com/sun/speech/freetts/VoiceManager.java
14 +++ freetts-1.2.2/com/sun/speech/freetts/VoiceManager.java
15 @@ -661,7 +661,7 @@ class DynamicClassLoader extends URLClas
16  
17      /**
18       * {@inheritDoc}
19 -     */
20 +     *
21      public Class loadClass(final String name)
22          throws ClassNotFoundException {
23          Class loadedClass = findLoadedClass(name);
24 @@ -678,6 +678,7 @@ class DynamicClassLoader extends URLClas
25          }
26          return loadedClass;
27      }
28 +    */
29  }
30  
31  /**