java9
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 2 Dec 2017 00:01:41 +0000 (00:01 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 2 Dec 2017 00:01:41 +0000 (00:01 +0000)
Gbp-Pq: Name java9.diff

configure.ac
external/rhino/rhino1_5R5.patch
odk/settings/settings.mk
sfx2/qa/complex/sfx2/DocumentMetadataAccess.java
solenv/gbuild/JavaClassSet.mk

index a8b608e32fed58b7b3834fada5a066805c38e566..8712625e26013ebb413813b8891ad84dcffcda83 100644 (file)
Binary files a/configure.ac and b/configure.ac differ
index e44872e3df8fcb911622efda76e4a3f687257bc3..40fc6cc9427bec5db49b3dad5e2c45f4ad5bca63 100644 (file)
    </target>
  
    <target name="compile" depends="properties,get-swing-ex">
-@@ -68,6 +54,7 @@
-            includes="org/**/*.java"
-            deprecation="on"
-            debug="${debug}">
-+      <compilerarg value="-Xbootclasspath:${toString:my.bootstrap.classpath}"/>
-     </javac>
-     <copy todir="${nest}/${classes}">
-       <fileset dir="." includes="org/**/*.properties" />
 --- misc/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java    2004-03-25 21:54:34.000000000 +0100
 +++ misc/build/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java      2009-01-17 20:44:22.000000000 +0100
 @@ -470,15 +470,21 @@
index 2813959f5dec47bec752191a015df2a1c40b1a99..e21d33829ba9f6d52a2f00e3c99111db7a8ae12e 100644 (file)
@@ -376,7 +376,7 @@ COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS)
 
 EXE_LINK_FLAGS=-Wl,--allow-shlib-undefined -Wl,-export-dynamic -Wl,-z,defs -Wl,--no-whole-archive
 LINK_LIBS=-L"$(OUT)/lib" -L"$(OO_SDK_HOME)/lib" -L"$(OO_SDK_URE_LIB_DIR)"
-LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)"
+LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)" -L"$(OO_SDK_JAVA_HOME)/lib"
 
 URE_MISC=$(OFFICE_PROGRAM_PATH)
 
index 4c23235c3baf98e702ec019cf0035ae09f6f7664..9a0e7b8170a773889a82220944f8cbd0f7299588 100644 (file)
@@ -1006,8 +1006,7 @@ public class DocumentMetadataAccess
                 i_Expected.length);
             return false;
         }
-        Statement[] expected = (Statement[])
-            java.util.Arrays.asList(i_Expected).toArray();
+        Statement[] expected = i_Expected.clone();
         java.util.Arrays.sort(i_Result, new StmtComp());
         java.util.Arrays.sort(expected, new StmtComp());
         for (int i = 0; i < expected.length; ++i)
index 58a16d95cf712de5a283fca542f5cf01856fc679..e7de44d6cccab79e466ac6368e0de50e40296eda 100644 (file)
@@ -17,7 +17,8 @@
 #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 #
 
-gb_JavaClassSet_JAVACCOMMAND := $(ICECREAM_RUN) $(JAVACOMPILER) $(JAVAFLAGS) \
+gb_JavaClassSet_JAVACCOMMAND := JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 \
+    $(ICECREAM_RUN) $(JAVACOMPILER) $(JAVAFLAGS) \
     -source $(JAVA_SOURCE_VER) -target $(JAVA_TARGET_VER) \
     $(if $(JAVA_CLASSPATH_NOT_SET),-Xlint:-options)
 gb_JavaClassSet_JAVACDEBUG :=