jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java
--- a/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java Tue Mar 15 13:48:24 2016 -0700
+++ b/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java Thu Mar 17 19:04:05 2016 +0000
@@ -47,6 +47,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
+import java.util.Objects;
import java.util.Vector;
import java.util.jar.JarEntry;
import java.util.jar.JarOutputStream;
@@ -115,7 +116,7 @@
private boolean _debug = false; // -x
private String _jarFileName = null; // -j <jar-file-name>
private String _className = null; // -o <class-name>
- private String _packageName = null; // -p <package-name>
+ private String _packageName = "die.verwandlung"; // override with -p <package-name>
private File _destDir = null; // -d <directory-name>
private int _outputType = FILE_OUTPUT; // by default
@@ -724,7 +725,7 @@
* Set an optional package name for the translet and auxiliary classes
*/
public void setPackageName(String packageName) {
- _packageName = packageName;
+ _packageName = Objects.requireNonNull(packageName);
if (_className != null) setClassName(_className);
}