From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 10:28:54 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 03 Dec 2007 18:28:54 +0000 Subject: [Bug 84] New: jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 Summary: jar c0mf@ causes error "Illegal option: @" Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: jarkko.lietolahti at jab.fi Included file java/util/Hashtable$EmptyEnumerator.class missing, skipping. /bin/mv /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/reorder/file_list.temp /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/reorder/file_list /bin/cat /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/reorder/file_list | /bin/grep "^sun" | /bin/grep "class" | /bin/grep -v '\$' \ > /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/sun_classes_list sed 's/\.class/\.java/' < /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/sun_classes_list \ > /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/sun_sources_list /bin/mkdir -p /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/jarfilelists /home/jarkko/Desktop/23/jarkko/src/icedtea/bootstrap/jdk1.6.0/bin/java -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/btjars/jarsplit.jar \ /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/reorder/file_list \ -o /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/jarfilelists/rt_jar_list /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/jarfilelists/resources_jar_list /bin/mkdir -p /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp rm -f /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/rt-orig.jar (cd /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/classes && /bin/cat /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/jarfilelists/rt_jar_list | \ /home/jarkko/Desktop/23/jarkko/src/icedtea/bootstrap/jdk1.6.0/bin/jar c0mf@ /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/manifest.tmp /home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/rt-orig.jar \ -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m) Illegal option: @ Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ... Options: -c create new archive -t list table of contents for archive -x extract named (or all) files from archive -u update existing archive -v generate verbose output on standard output -f specify archive file name -m include manifest information from specified manifest file -e specify application entry point for stand-alone application bundled into an executable jar file -0 store only; use no ZIP compression -M do not create a manifest file for the entries -i generate index information for the specified jar files -C change to the specified directory and include the following file If any file is a directory then it is processed recursively. The manifest file name, the archive file name and the entry point name are specified in the same order as the 'm', 'f' and 'e' flags. Example 1: to archive two class files into an archive called classes.jar: jar cvf classes.jar Foo.class Bar.class Example 2: use an existing manifest file 'mymanifest' and archive all the files in the foo/ directory into 'classes.jar': jar cvfm classes.jar mymanifest -C foo/ . make[2]: *** [/home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/build/linux-amd64/tmp/rt-orig.jar] Error 1 make[2]: Leaving directory `/home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/jdk/make' make[1]: *** [jdk-build] Virhe 2 make[1]: Poistutaan hakemistosta "/home/jarkko/Desktop/23/jarkko/src/icedtea/openjdk-ecj/control/make" make: *** [stamps/icedtea-ecj.stamp] Virhe 2 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 10:31:28 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 03 Dec 2007 18:31:28 +0000 Subject: [Bug 84] jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 ------- Comment #1 from langel at redhat.com 2007-12-03 18:31 ------- need more info: readlink -f /usr/bin/jar ? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 10:48:22 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 03 Dec 2007 18:48:22 +0000 Subject: [Bug 84] jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 ------- Comment #2 from jsumali at redhat.com 2007-12-03 18:48 ------- Which jar program are you using? If my guess is correct, then you might be using gjar -- from what I remember, it currently doesn't support the '@' option to take in a list of files. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From gnu_andrew at member.fsf.org Mon Dec 3 13:45:40 2007 From: gnu_andrew at member.fsf.org (gnu_andrew at member.fsf.org) Date: Mon, 03 Dec 2007 21:45:40 +0000 Subject: changeset in /hg/icepick: Updated compiler testing to just use j... Message-ID: changeset 1fa24a069129 in /hg/icepick details: http://icedtea.classpath.org/hg/icepick?cmd=changeset;node=1fa24a069129 description: Updated compiler testing to just use javac. diffstat: 4 files changed, 68 insertions(+), 437 deletions(-) ChangeLog | 10 + Makefile.am | 10 - configure.ac | 32 --- m4/acinclude.m4 | 453 ++++++------------------------------------------------- diffs (truncated from 602 to 500 lines): diff -r dc6721b486c7 -r 1fa24a069129 ChangeLog --- a/ChangeLog Mon Dec 03 21:07:30 2007 +0000 +++ b/ChangeLog Mon Dec 03 21:38:42 2007 +0000 @@ -1,3 +1,13 @@ 2007-12-03 Andrew John Hughes + + * Makefile.am: + Just use JAVAC and fail when there is no compiler. + * configure.ac: + Remove unneeded macros. + * m4/acinclude.m4: + Likewise, and bring in updated javac test from + GNU Classpath. + 2007-12-03 Andrew John Hughes * AUTHORS: diff -r dc6721b486c7 -r 1fa24a069129 Makefile.am --- a/Makefile.am Mon Dec 03 21:07:30 2007 +0000 +++ b/Makefile.am Mon Dec 03 21:38:42 2007 +0000 @@ -11,14 +11,10 @@ FULL_VERSION = $(RELEASE)-$(USER_RELEASE FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER) # Setup the compiler -if FOUND_ECJ -JCOMPILER = $(ECJ) -1.5 -encoding UTF-8 -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast -bootclasspath $(PATH_TO_GLIBJ_ZIP) -classpath .:$(USER_CLASSLIB) +if FOUND_JAVAC +JCOMPILER = $(JAVAC) $(JAVAC_OPTS) -classpath .:$(USER_CLASSLIB) else -if FOUND_JAVAC -JCOMPILER = $(JAVAC) -encoding UTF-8 -bootclasspath $(PATH_TO_GLIBJ_ZIP) -classpath .:$(GLIBJ_CLASSPATH) -else -error dunno how to setup the JCOMPILER and compile -endif +JCOMPILER = echo "No compiler found" 1>&2; exit 1 endif bin_SCRIPTS = tools/apt tools/javac tools/javah tools/javadoc diff -r dc6721b486c7 -r 1fa24a069129 configure.ac --- a/configure.ac Mon Dec 03 21:07:30 2007 +0000 +++ b/configure.ac Mon Dec 03 21:38:42 2007 +0000 @@ -6,7 +6,7 @@ dnl define([AC_CACHE_LOAD], )dnl dnl define([AC_CACHE_LOAD], )dnl dnl define([AC_CACHE_SAVE], )dnl -AC_INIT([IcePick],[0.01],[classpath at gnu.org],[icepick]) +AC_INIT([IcePick],[0.01],[distro-pkg-dev at openjdk.java.net],[icepick]) AC_CONFIG_SRCDIR(tools/javadoc.in) AC_CANONICAL_TARGET @@ -19,12 +19,12 @@ dnl Sets the VM name for use in tool wra dnl Sets the VM name for use in tool wrapper scripts dnl ----------------------------------------------------------- AC_ARG_WITH([vm], - [AS_HELP_STRING(--with-vm,sets the VM binary name [default='${prefix}/bin/java'])], + [AS_HELP_STRING(--with-vm,sets the VM binary name [default='java'])], [ VM_BINARY=${withval} ], [ - VM_BINARY='${prefix}/bin/java' + VM_BINARY='java' ]) AC_SUBST(VM_BINARY) @@ -60,32 +60,6 @@ dnl ------------------------------------ dnl ----------------------------------------------------------- AM_MAINTAINER_MODE -dnl ----------------------------------------------------------------------- -dnl Support for using a prebuilt class library -dnl ----------------------------------------------------------------------- -AC_ARG_WITH([glibj_zip], - AS_HELP_STRING([--with-glibj-zip=ABS.PATH], - [use prebuilt glibj.zip class library])) - -case "$with_glibj_zip" in -"") - use_glibj_zip=false - ;; -"no" ) - use_glibj_zip=false - ;; -"yes") - AC_MSG_ERROR([Please suply an absolute path to a prebuilt glibj.zip]) - ;; -*) - use_glibj_zip=true - PATH_TO_GLIBJ_ZIP=$with_glibj_zip - ;; -esac; - -AM_CONDITIONAL(USE_PREBUILT_GLIBJ_ZIP, test x$use_glibj_zip = xtrue) -AC_SUBST(PATH_TO_GLIBJ_ZIP) - dnl ----------------------------------------------------------- dnl output files dnl ----------------------------------------------------------- diff -r dc6721b486c7 -r 1fa24a069129 m4/acinclude.m4 --- a/m4/acinclude.m4 Mon Dec 03 21:07:30 2007 +0000 +++ b/m4/acinclude.m4 Mon Dec 03 21:38:42 2007 +0000 @@ -5,222 +5,94 @@ AC_DEFUN([CLASSPATH_FIND_JAVAC], [ user_specified_javac= -dnl CLASSPATH_WITH_GCJ -dnl CLASSPATH_WITH_JIKES -dnl CLASSPATH_WITH_KJC - CLASSPATH_WITH_ECJ CLASSPATH_WITH_JAVAC if test "x${user_specified_javac}" = x; then -dnl AM_CONDITIONAL(FOUND_GCJ, test "x${GCJ}" != x) -dnl AM_CONDITIONAL(FOUND_JIKES, test "x${JIKES}" != x) - AM_CONDITIONAL(FOUND_ECJ, test "x${ECJ}" != x) AM_CONDITIONAL(FOUND_JAVAC, test "x${JAVAC}" != x) else -dnl AM_CONDITIONAL(FOUND_GCJ, test "x${user_specified_javac}" = xgcj) -dnl AM_CONDITIONAL(FOUND_JIKES, test "x${user_specified_javac}" = xjikes) - AM_CONDITIONAL(FOUND_ECJ, test "x${user_specified_javac}" = xecj) - AM_CONDITIONAL(FOUND_JAVAC, test "x${user_specified_javac}" = xjavac) + AM_CONDITIONAL(FOUND_JAVAC, test "x${user_specified_javac}" = xjavac && test "x${JAVAC}" != x) fi -dnl AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc) -dnl if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc; then - if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj; then - AC_MSG_ERROR([cannot find javac, try --with-ecj]) + if test "x${JAVAC}" = x && test "x${user_specified_javac}" != xjavac; then + AC_MSG_ERROR([cannot find javac, try --with-javac]) fi ]) dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_GCJ], +AC_DEFUN([CLASSPATH_WITH_JAVAC], [ - AC_ARG_WITH([gcj], - [AS_HELP_STRING(--with-gcj,bytecode compilation with gcj)], + AC_ARG_WITH([javac], + [AS_HELP_STRING(--with-javac,bytecode compilation with javac)], [ if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - CLASSPATH_CHECK_GCJ(${withval}) + CLASSPATH_CHECK_JAVAC(${withval}) else if test "x${withval}" != xno; then - CLASSPATH_CHECK_GCJ + CLASSPATH_CHECK_JAVAC fi fi - user_specified_javac=gcj + user_specified_javac=javac ], - [ - CLASSPATH_CHECK_GCJ + [ + CLASSPATH_CHECK_JAVAC ]) - AC_SUBST(GCJ) + AC_SUBST(JAVAC) + AC_SUBST(JAVAC_OPTS) ]) dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_CHECK_GCJ], +AC_DEFUN([CLASSPATH_CHECK_JAVAC], [ if test "x$1" != x; then - if test -f "$1"; then - GCJ="$1" - else - AC_PATH_PROG(GCJ, "$1") - fi + JAVAC="$1" else - AC_PATH_PROG(GCJ, "gcj") - fi - dnl Test the given GCJ, but use it as C (!) compiler to check version - if test "x$GCJ" != x; then - AC_MSG_CHECKING([gcj version 4.0]) - AC_LANG_PUSH([C]) - AC_LANG_CONFTEST( - [[#if __GNUC__ <= 3 - #error GCJ 4.0.0 or higher is required - #endif - ]]) - $GCJ -E conftest.c > /dev/null - gcj_4_result=$? - if test "x$gcj_4_result" = "x0"; then - AC_MSG_RESULT([4.0 or higher found]) - else - AC_MSG_WARN([4.0 or higher required]) - fi - AC_LANG_POP - fi -]) - -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_JIKES], -[ - AC_ARG_WITH([jikes], - [AS_HELP_STRING(--with-jikes,bytecode compilation with jikes)], - [ - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - CLASSPATH_CHECK_JIKES(${withval}) - else - if test "x${withval}" != xno; then - CLASSPATH_CHECK_JIKES - fi - fi - user_specified_javac=jikes - ], - [ - CLASSPATH_CHECK_JIKES - ]) - AC_SUBST(JIKES) -]) - -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_CHECK_JIKES], -[ - if test "x$1" != x; then - if test -f "$1"; then - JIKES="$1" - else - AC_PATH_PROG(JIKES, "$1") - fi + AC_PATH_PROG(JAVAC, "javac") + fi + dnl Test the given javac + AC_MSG_CHECKING([if javac is 1.5-capable]) + cat > conftest.java << EOF +public class conftest { +public static void main(String[] args) { +java.util.List l = new java.util.ArrayList(); +System.out.println(l); +}} +EOF + $JAVAC -sourcepath '' conftest.java + javac_result=$? + if test "x$javac_result" = "x0"; then + AC_MSG_RESULT([yes]) else - AC_PATH_PROG(JIKES, "jikes") + AC_MSG_WARN([1.5 capable javac required]) fi - if test "x$JIKES" != "x"; then - dnl Require at least version 1.19 - AC_MSG_CHECKING(jikes version) - JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5` - JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1` - JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2` - if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then - if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then - JIKES="" - fi - fi - if test "x$JIKES" != "x"; then - AC_MSG_RESULT($JIKES_VERSION) - else - AC_MSG_WARN($JIKES_VERSION: jikes 1.19 or higher required) - fi - - JIKESENCODING= - if test -n "`$JIKES --help 2>&1 | grep encoding`"; then - JIKESENCODING='-encoding UTF-8' - fi - AC_SUBST(JIKESENCODING) - - JIKESWARNINGS="+Pno-switchcheck" - if test "x$JIKES_VERSION_MAJOR" = x"1" ; then - if ! test "x$JIKES_VERSION_MINOR" = x"19"; then - JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow" - fi - fi - AC_SUBST(JIKESWARNINGS) - + AC_MSG_CHECKING([whether javac supports -J]) + $JAVAC -J-Xmx512M -sourcepath '' conftest.java + javac_result=$? + if test "x$javac_result" = "x0"; then + AC_MSG_RESULT([yes]) + JAVAC_OPTS="-J-Xmx512M" + else + AC_MSG_RESULT([javac doesn't support -J]) fi ]) -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_KJC], +dnl Allow langtools directory to be specified +AC_DEFUN([WITH_LANGTOOLS_SRC_DIR], [ - AC_ARG_WITH([kjc], - [AS_HELP_STRING(--with-kjc,bytecode compilation with kjc)], + AC_MSG_CHECKING(langtools sources) + AC_ARG_WITH([langtools-src-dir], + [AS_HELP_STRING(--with-langtools-src-dir,specify the location of the openjdk langtools sources)], [ - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - CLASSPATH_CHECK_KJC(${withval}) - else - if test "x${withval}" != xno; then - CLASSPATH_CHECK_KJC - fi - fi - user_specified_javac=kjc + LANGTOOLS_SRC_DIR=${withval} + AC_MSG_RESULT(${withval}) + conditional_with_langtools_sources=true ], [ - CLASSPATH_CHECK_KJC + conditional_with_langtools_sources=false + LANGTOOLS_SRC_DIR=`pwd`/langtools + AC_MSG_RESULT(${OPENJDK_SRC_DIR}) ]) - AC_SUBST(KJC) -]) - -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_CHECK_KJC], -[ - if test "x$1" != x; then - if test -f "$1"; then - KJC="$1" - else - AC_PATH_PROG(KJC, "$1") - fi - else - AC_PATH_PROG(KJC, "kJC") - fi -]) - -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_JAVAH], -[ - AC_ARG_WITH([javah], - [AS_HELP_STRING(--with-javah,specify path or name of a javah-like program)], - [ - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - CLASSPATH_CHECK_JAVAH(${withval}) - else - CLASSPATH_CHECK_JAVAH - fi - ], - [ - CLASSPATH_CHECK_JAVAH - ]) - AC_SUBST(USER_JAVAH) -]) - -dnl ----------------------------------------------------------- -dnl Checking for a javah like program -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_CHECK_JAVAH], -[ - if test "x$1" != x; then - if test -f "$1"; then - USER_JAVAH="$1" - else - AC_PATH_PROG(USER_JAVAH, "$1") - fi - else - AC_PATH_PROGS([USER_JAVAH],[gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah]) - fi - - if test "x${USER_JAVAH}" = x; then - AC_MSG_ERROR([can not find javah]) - fi + AC_SUBST(LANGTOOLS_SRC_DIR) + AM_CONDITIONAL(GNU_CLASSLIB_FOUND, test "x${conditional_with_langtools_sources}" = xtrue) ]) dnl ----------------------------------------------------------- @@ -250,225 +122,4 @@ AC_DEFUN([CLASSPATH_WITH_CLASSLIB], [ conditional_with_classlib=false ]) AM_CONDITIONAL(USER_SPECIFIED_CLASSLIB, test "x${conditional_with_classlib}" = xtrue) - AC_ARG_WITH([vm-classes], - [AS_HELP_STRING(--with-vm-classes,specify path to VM override source files)], [vm_classes="$with_vm_classes"], - [vm_classes='${top_srcdir}/vm/reference']) - AC_SUBST(vm_classes) ]) - -dnl ----------------------------------------------------------- -dnl CLASSPATH_WITH_GLIBJ - specify what to install -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_GLIBJ], -[ - AC_PATH_PROG(ZIP, zip) - AC_ARG_WITH([fastjar], - [AS_HELP_STRING([--with-fastjar=PATH], [define to use a fastjar style tool])], - [ - AC_MSG_CHECKING([for user supplied fastjar]) - FASTJAR=${withval} - AC_MSG_RESULT([${FASTJAR}]) - ], - [AC_PATH_PROG(FASTJAR, fastjar)]) -dnl We disable ZIP by default if we find fastjar. - if test x"${FASTJAR}" != x; then - ZIP="" - fi - - AC_ARG_WITH([glibj], - [AS_HELP_STRING([--with-glibj],[define what to install (zip|flat|both|none|build) [default=zip]])], - [ - if test "x${withval}" = xyes || test "x${withval}" = xzip; then - install_class_files=no - build_class_files=yes - use_zip=yes - elif test "x${withval}" = xboth; then - install_class_files=yes - build_class_files=yes - use_zip=yes - elif test "x${withval}" = xflat; then - install_class_files=yes - build_class_files=yes - use_zip=no - elif test "x${withval}" = xno || test "x${withval}" = xnone; then - install_class_files=no - build_class_files=no - use_zip=no - elif test "x${withval}" = xbuild; then - install_class_files=no - build_class_files=yes - use_zip=no - else - AC_MSG_ERROR([unknown value given to --with-glibj]) - fi - ], - [ - install_class_files=no - use_zip=yes - ]) - AM_CONDITIONAL(INSTALL_GLIBJ_ZIP, test "x${use_zip}" = xyes) - AM_CONDITIONAL(INSTALL_CLASS_FILES, test "x${install_class_files}" = xyes) - AM_CONDITIONAL(BUILD_CLASS_FILES, test "x${build_class_files}" = xyes) - - AC_ARG_ENABLE([examples], - [AS_HELP_STRING(--enable-examples,enable build of the examples [default=yes])], - [case "${enableval}" in - yes) EXAMPLESDIR="examples" ;; - no) EXAMPLESDIR="" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-examples) ;; - esac], - [EXAMPLESDIR="examples"]) - if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then - EXAMPLESDIR="" - fi - AC_SUBST(EXAMPLESDIR) -]) - -dnl ----------------------------------------------------------- -dnl Enable generation of API documentation, with gjdoc if it -dnl has been compiled to an executable (or a suitable script -dnl is in your PATH) or using the argument as gjdoc executable. -dnl ----------------------------------------------------------- -AC_DEFUN([CLASSPATH_WITH_GJDOC], -[ - AC_ARG_WITH([gjdoc], - AS_HELP_STRING([--with-gjdoc], - [generate documentation using gjdoc (default is NO)]), - [if test "x${withval}" = xno; then - WITH_GJDOC=no; - elif test "x${withval}" = xyes -o "x{withval}" = x; then - WITH_GJDOC=yes; - AC_PATH_PROG(GJDOC, gjdoc, "no") - if test "x${GJDOC}" = xno; then - AC_MSG_ERROR("gjdoc executable not found"); - fi - else - WITH_GJDOC=yes - GJDOC="${withval}" - AC_CHECK_FILE(${GJDOC}, AC_SUBST(GJDOC), - AC_MSG_ERROR("Cannot use ${withval} as gjdoc executable since it doesn't exist")) - fi], - [WITH_GJDOC=no]) - - AM_CONDITIONAL(CREATE_API_DOCS, test "x${WITH_GJDOC}" = xyes) -]) - -dnl ----------------------------------------------------------- -dnl Enable regeneration of parsers using jay -dnl http://www.informatik.uni-osnabrueck.de/alumni/bernd/jay/ -dnl ----------------------------------------------------------- -AC_DEFUN([REGEN_WITH_JAY], -[ - AC_ARG_WITH([jay], - [AS_HELP_STRING(--with-jay,Regenerate the parsers with jay must be given the path to the jay executable)], - [ - if test -d "${withval}"; then - JAY_DIR_PATH="${withval}" - AC_PATH_PROG(JAY, jay, "no", ${JAY_DIR_PATH}) - if test "x${JAY}" = xno; then - AC_MSG_ERROR("jay executable not found"); - fi - else - JAY_DIR_PATH=`dirname "${withval}"` From gnu_andrew at member.fsf.org Mon Dec 3 13:45:39 2007 From: gnu_andrew at member.fsf.org (gnu_andrew at member.fsf.org) Date: Mon, 03 Dec 2007 21:45:39 +0000 Subject: changeset in /hg/icepick: 2007-12-03 Andrew John Hughes changeset 23c4c196778a in /hg/icepick details: http://icedtea.classpath.org/hg/icepick?cmd=changeset;node=23c4c196778a description: 2007-12-03 Andrew John Hughes * THANKS: Add thankyous. * tools/apt.in, * tools/javac.in, * tools/javadoc.in, * tools/javah.in: Correct copyright headers. diffstat: 6 files changed, 42 insertions(+), 93 deletions(-) ChangeLog | 10 ++++++++++ THANKS | 8 ++++++++ tools/apt.in | 29 ++++++----------------------- tools/javac.in | 29 ++++++----------------------- tools/javadoc.in | 29 ++++++----------------------- tools/javah.in | 30 ++++++------------------------ diffs (238 lines): diff -r b04bfca58e58 -r 23c4c196778a ChangeLog --- a/ChangeLog Thu Nov 29 16:46:44 2007 +0000 +++ b/ChangeLog Mon Dec 03 20:44:39 2007 +0000 @@ -1,3 +1,13 @@ 2007-11-29 Andrew John Hughes + + * THANKS: + Add thankyous. + * tools/apt.in, + * tools/javac.in, + * tools/javadoc.in, + * tools/javah.in: + Correct copyright headers. + 2007-11-29 Andrew John Hughes * tools/library.c: diff -r b04bfca58e58 -r 23c4c196778a THANKS --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/THANKS Mon Dec 03 20:44:39 2007 +0000 @@ -0,0 +1,8 @@ +My deepest thanks to all those who have contributed to the following projects: + +* GNU Classpath +* OpenJDK +* IcedTea +* The numerous VMs which support GNU Classpath, including JamVM, CACAO, JikesRVM, Kaffe and gcj + +Without your work, this wouldn't be possible. diff -r b04bfca58e58 -r 23c4c196778a tools/apt.in --- a/tools/apt.in Thu Nov 29 16:46:44 2007 +0000 +++ b/tools/apt.in Mon Dec 03 20:44:39 2007 +0000 @@ -1,42 +1,25 @@ #!/bin/sh -## Copyright (C) 2006 Free Software Foundation, Inc. +## Copyright (C) 2007 Andrew John Hughes ## -## This file is a part of GNU Classpath. +## This file is a part of IcePick. ## -## GNU Classpath is free software; you can redistribute it and/or modify +## IcePick is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or (at ## your option) any later version. ## -## GNU Classpath is distributed in the hope that it will be useful, but +## IcePick is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with GNU Classpath; if not, write to the Free Software +## along with IcePick; if not, write to the Free Software ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 ## USA. ## -## Linking this library statically or dynamically with other modules is -## making a combined work based on this library. Thus, the terms and -## conditions of the GNU General Public License cover the whole -## combination. -## -## As a special exception, the copyright holders of this library give you -## permission to link this library with independent modules to produce an -## executable, regardless of the license terms of these independent -## modules, and to copy and distribute the resulting executable under -## terms of your choice, provided that you also meet, for each linked -## independent module, the terms and conditions of the license of that -## module. An independent module is a module which is not derived from -## or based on this library. If you modify this library, you may extend -## this exception to your version of the library, but you are not -## obligated to do so. If you do not wish to do so, delete this -## exception statement from your version. -## -## A simple shell script to launch the GNU Classpath appletviewer tool. +## A simple shell script to launch the APT tool. ## prefix=@prefix@ diff -r b04bfca58e58 -r 23c4c196778a tools/javac.in --- a/tools/javac.in Thu Nov 29 16:46:44 2007 +0000 +++ b/tools/javac.in Mon Dec 03 20:44:39 2007 +0000 @@ -1,42 +1,25 @@ #!/bin/sh -## Copyright (C) 2006 Free Software Foundation, Inc. +## Copyright (C) 2007 Andrew John Hughes ## -## This file is a part of GNU Classpath. +## This file is a part of IcePick. ## -## GNU Classpath is free software; you can redistribute it and/or modify +## IcePick is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or (at ## your option) any later version. ## -## GNU Classpath is distributed in the hope that it will be useful, but +## IcePick is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with GNU Classpath; if not, write to the Free Software +## along with IcePick; if not, write to the Free Software ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 ## USA. ## -## Linking this library statically or dynamically with other modules is -## making a combined work based on this library. Thus, the terms and -## conditions of the GNU General Public License cover the whole -## combination. -## -## As a special exception, the copyright holders of this library give you -## permission to link this library with independent modules to produce an -## executable, regardless of the license terms of these independent -## modules, and to copy and distribute the resulting executable under -## terms of your choice, provided that you also meet, for each linked -## independent module, the terms and conditions of the license of that -## module. An independent module is a module which is not derived from -## or based on this library. If you modify this library, you may extend -## this exception to your version of the library, but you are not -## obligated to do so. If you do not wish to do so, delete this -## exception statement from your version. -## -## A simple shell script to launch the GNU Classpath appletviewer tool. +## A simple shell script to launch the javac tool. ## prefix=@prefix@ diff -r b04bfca58e58 -r 23c4c196778a tools/javadoc.in --- a/tools/javadoc.in Thu Nov 29 16:46:44 2007 +0000 +++ b/tools/javadoc.in Mon Dec 03 20:44:39 2007 +0000 @@ -1,42 +1,25 @@ #!/bin/sh -## Copyright (C) 2006 Free Software Foundation, Inc. +## Copyright (C) 2007 Andrew John Hughes ## -## This file is a part of GNU Classpath. +## This file is a part of IcePick. ## -## GNU Classpath is free software; you can redistribute it and/or modify +## IcePick is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or (at ## your option) any later version. ## -## GNU Classpath is distributed in the hope that it will be useful, but +## IcePick is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with GNU Classpath; if not, write to the Free Software +## along with IcePick; if not, write to the Free Software ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 ## USA. ## -## Linking this library statically or dynamically with other modules is -## making a combined work based on this library. Thus, the terms and -## conditions of the GNU General Public License cover the whole -## combination. -## -## As a special exception, the copyright holders of this library give you -## permission to link this library with independent modules to produce an -## executable, regardless of the license terms of these independent -## modules, and to copy and distribute the resulting executable under -## terms of your choice, provided that you also meet, for each linked -## independent module, the terms and conditions of the license of that -## module. An independent module is a module which is not derived from -## or based on this library. If you modify this library, you may extend -## this exception to your version of the library, but you are not -## obligated to do so. If you do not wish to do so, delete this -## exception statement from your version. -## -## A simple shell script to launch the GNU Classpath appletviewer tool. +## A simple shell script to launch the javadoc tool. ## prefix=@prefix@ diff -r b04bfca58e58 -r 23c4c196778a tools/javah.in --- a/tools/javah.in Thu Nov 29 16:46:44 2007 +0000 +++ b/tools/javah.in Mon Dec 03 20:44:39 2007 +0000 @@ -1,43 +1,25 @@ #!/bin/sh -## Copyright (C) 2006 Free Software Foundation, Inc. +## Copyright (C) 2007 Andrew John Hughes ## -## This file is a part of GNU Classpath. +## This file is a part of IcePick. ## -## GNU Classpath is free software; you can redistribute it and/or modify +## IcePick is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or (at ## your option) any later version. ## -## GNU Classpath is distributed in the hope that it will be useful, but +## IcePick is distributed in the hope that it will be useful, but ## WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with GNU Classpath; if not, write to the Free Software +## along with IcePick; if not, write to the Free Software ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 ## USA. ## -## Linking this library statically or dynamically with other modules is -## making a combined work based on this library. Thus, the terms and -## conditions of the GNU General Public License cover the whole -## combination. -## -## As a special exception, the copyright holders of this library give you -## permission to link this library with independent modules to produce an -## executable, regardless of the license terms of these independent -## modules, and to copy and distribute the resulting executable under -## terms of your choice, provided that you also meet, for each linked -## independent module, the terms and conditions of the license of that -## module. An independent module is a module which is not derived from -## or based on this library. If you modify this library, you may extend -## this exception to your version of the library, but you are not -## obligated to do so. If you do not wish to do so, delete this -## exception statement from your version. -## -## A simple shell script to launch the GNU Classpath appletviewer tool. -## +## A simple shell script to launch the javah tool. prefix=@prefix@ datarootdir=@datarootdir@ From gnu_andrew at member.fsf.org Mon Dec 3 13:45:40 2007 From: gnu_andrew at member.fsf.org (gnu_andrew at member.fsf.org) Date: Mon, 03 Dec 2007 21:45:40 +0000 Subject: changeset in /hg/icepick: Add javap support. Message-ID: changeset dc6721b486c7 in /hg/icepick details: http://icedtea.classpath.org/hg/icepick?cmd=changeset;node=dc6721b486c7 description: Add javap support. diffstat: 5 files changed, 44 insertions(+), 2 deletions(-) AUTHORS | 2 +- ChangeLog | 10 ++++++++++ Makefile.am | 3 ++- configure.ac | 2 ++ tools/javap.in | 29 +++++++++++++++++++++++++++++ diffs (89 lines): diff -r 23c4c196778a -r dc6721b486c7 AUTHORS --- a/AUTHORS Mon Dec 03 20:44:39 2007 +0000 +++ b/AUTHORS Mon Dec 03 21:07:30 2007 +0000 @@ -1,5 +1,5 @@ The following have made major contributi The following have made major contributions to the IcePick -project. See also the THANKYOU file, which lists people who have +project. See also the THANKS file, which lists people who have caught bugs or submitted minor patches. If your name does not appear on either list, but should, let us know. Please keep this list in alphabetic order. diff -r 23c4c196778a -r dc6721b486c7 ChangeLog --- a/ChangeLog Mon Dec 03 20:44:39 2007 +0000 +++ b/ChangeLog Mon Dec 03 21:07:30 2007 +0000 @@ -1,3 +1,13 @@ 2007-12-03 Andrew John Hughes + + * AUTHORS: + Corrected reference to THANKS. + * configure.ac: + Create javap wrapper script. + * Makefile.am: + Compile javap. + * tools/javap.in: New file. + 2007-12-03 Andrew John Hughes * THANKS: diff -r 23c4c196778a -r dc6721b486c7 Makefile.am --- a/Makefile.am Mon Dec 03 20:44:39 2007 +0000 +++ b/Makefile.am Mon Dec 03 21:07:30 2007 +0000 @@ -73,7 +73,8 @@ TOOLS_JAVA_FILES = $(OPENJDK_CLASSES)/co $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \ - $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java + $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \ + $(OPENJDK_CLASSES)/sun/tools/javap/*.java # The zip files with classes we want to produce. TOOLS_ZIP = tools.jar diff -r 23c4c196778a -r dc6721b486c7 configure.ac --- a/configure.ac Mon Dec 03 20:44:39 2007 +0000 +++ b/configure.ac Mon Dec 03 21:07:30 2007 +0000 @@ -93,10 +93,12 @@ tools/apt tools/apt tools/javac tools/javah +tools/javap tools/javadoc]) AC_CONFIG_COMMANDS([apt],[chmod 755 tools/apt]) AC_CONFIG_COMMANDS([javac],[chmod 755 tools/javac]) AC_CONFIG_COMMANDS([javah],[chmod 755 tools/javah]) +AC_CONFIG_COMMANDS([javap],[chmod 755 tools/javap]) AC_CONFIG_COMMANDS([javadoc],[chmod 755 tools/javadoc]) AC_OUTPUT diff -r 23c4c196778a -r dc6721b486c7 tools/javap.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/javap.in Mon Dec 03 21:07:30 2007 +0000 @@ -0,0 +1,29 @@ +#!/bin/sh + +## Copyright (C) 2007 Andrew John Hughes +## +## This file is a part of IcePick. +## +## IcePick is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or (at +## your option) any later version. +## +## IcePick is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with IcePick; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 +## USA. +## +## A simple shell script to launch the javap tool. + +prefix=@prefix@ +datarootdir=@datarootdir@ +tools_dir=${prefix}/lib +tools_cp=${tools_dir}/tools.jar + +exec @VM_BINARY@ -Xbootclasspath/p:"${tools_cp}" sun.tools.javap.Main "$@" From gnu_andrew at member.fsf.org Mon Dec 3 13:54:33 2007 From: gnu_andrew at member.fsf.org (Andrew John Hughes) Date: Mon, 3 Dec 2007 21:54:33 +0000 Subject: Announcing IcePick, a build framework for compiling the langtools Message-ID: <200712032154.44078.gnu_andrew@member.fsf.org> The aim of the IcePick project is to allow the language tools (javac, javadoc, javah, javap, apt) from the OpenJDK project to be built separately using any 1.5 compliant Java compiler. This is primarily motivated by a desire to allow these tools to be used with virtual machines that make use of the GNU Classpath library rather than simply as part of the larger IcedTea or OpenJDK distribution with the HotSpot or CACAO virtual machines. The advantages of using this toolset as opposed to existing tools distributed with Classpath-based solutions are: * A 1.5 capable Javadoc generator (gjdoc still needs support for the new constructs) * Provision of the apt tool for which there is no other Free software solution. This tool is needed to build the JikesRVM. * More heavily tested implementations of javac, javah and javap than those provided by ecj and the GNU Classpath tools Unlike IcedTea, IcePick's only dependency is a 1.5 capable compiler which can be provided by ecj, a gcj which uses ecj or an existing copy of javac. Because the OpenJDK class libraries and HotSpot are not being built, their requisite dependencies (see BuildRequirements are no longer needed. As a result, IcePick is buildable on a wider range of systems including those not yet supported by IcedTea. This includes those architectures other than x86, x86_64, ppc and ppc64 (the latter two having experimental support on IcedTea thanks to Gary Benson) and systems which can't meet the arduous build requirements of IcedTea/OpenJDK. It also provides a solution for users who want the OpenJDK toolset but don't want to build the entire distribution. It's still fairly untested so please try and give it a whirl and let me know of any problems. Details of how to check it out and build are on the IcedTea wiki: http://icedtea.classpath.org/wiki/IcePick Bugs: http://icedtea.classpath.org/bugzilla/ Thanks, -- Andrew :-) Help end the Java Trap! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20071203/f4e9eb91/attachment.bin From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 16:13:53 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 00:13:53 +0000 Subject: [Bug 76] gcjwebplugin AppletViewer HTML parsing: incorrect value for width/height attribute "100%" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=76 ------- Comment #1 from jarkko.lietolahti at jab.fi 2007-12-04 00:13 ------- If one looks at the code from sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134) it looks like this: Which suggest that the browser(? or something else other than the appletviewer) has to modify the and replace 100% with the current value of "100%". E.g. becomes (on the browser) which is what the appletviewer receives. So this seems to be some kind of integration problem. /** * Get the width. */ public int getWidth() { String w = getParameter("width"); if (w != null) { return Integer.valueOf(w).intValue(); } return 0; } -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 16:23:44 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 00:23:44 +0000 Subject: [Bug 76] gcjwebplugin AppletViewer HTML parsing: incorrect value for width/height attribute "100%" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=76 ------- Comment #2 from jarkko.lietolahti at jab.fi 2007-12-04 00:23 ------- In gcjwebplugin.cc there's a code block that could be suitable for doing the transformation from 100% --> real value. It seems to have all the required information present. gcjwebplugin.cc // The last plugin window width sent to us by the browser. guint32 window_width; // The last plugin window height sent to us by the browser. guint32 window_height; // Build up the applet tag string that we'll send to the applet // viewer. static gchar* plugin_create_applet_tag (int16 argc, char* argn[], char* argv[]) { ... else if (!g_ascii_strcasecmp (argn[i], "width")) { gchar* width = g_strdup_printf ("WIDTH=\"%s\" ", argv[i]); applet_tag = g_strconcat (applet_tag, width, NULL); g_free (width); width = NULL; } Just check if argv[i] ends in % and do little calculation and voila. And same thing for the height. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 18:45:55 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 02:45:55 +0000 Subject: [Bug 85] New: java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=85 Summary: java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: jarkko.lietolahti at jab.fi PIPE: plugin read: status error: java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext. GCJ PLUGIN: thread 0x6194b0: plugin_in_pipe_callback return PIPE: appletviewer wrote: status error: java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext. java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext at netscape.javascript.JSObject.getWindow(Unknown Source) at procountor.applet.B.C(Unknown Source) at procountor.applet.I.(Unknown Source) at procountor.applet.PApplet.start(Unknown Source) at sun.applet.AppletPanel.run(AppletPanel.java:475) at java.lang.Thread.run(Thread.java:674) Caused by: java.lang.ClassNotFoundException: sun.plugin.javascript.JSContext at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:201) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) ... 6 more Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:304) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:62) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:191) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:188) ... 10 more -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 18:53:18 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 02:53:18 +0000 Subject: [Bug 84] jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 ------- Comment #3 from jarkko.lietolahti at jab.fi 2007-12-04 02:53 ------- The problem was related to the version/vendor of the jar program used during early parts of the building. jarkko at azkaban:~$ readlink -f /usr/bin/jar /usr/bin/fastjar Actually it was gjar that supports the @ and Sun's (or somebody else's doesn't). fastjar --help Usage: fastjar {ctxuV}[vfm0ME@] [jar-file] [manifest-file] [-C dir] files ... I changed jar to something else (maybe it's from Sun's JDK bin/jar) and the build finished. Now after initial succesful build it's using some other jar to everything seems to work during rebuild (not from clean source). -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 18:56:19 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 02:56:19 +0000 Subject: [Bug 84] jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 ------- Comment #4 from jarkko.lietolahti at jab.fi 2007-12-04 02:56 ------- No, actually the current ./openjdk/control/build/linux-amd64/bin/jar or /home/jarkko/Desktop/23/jarkko/src/icedtea/bootstrap/jdk1.6.0/bin/jar doesn't support the @ parameter. I need to find out which jar was working ok. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 3 19:51:27 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 03:51:27 +0000 Subject: [Bug 85] java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=85 ------- Comment #1 from langel at redhat.com 2007-12-04 03:51 ------- javascript is still encumbered. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From gbenson at redhat.com Tue Dec 4 01:24:56 2007 From: gbenson at redhat.com (Gary Benson) Date: Tue, 04 Dec 2007 09:24:56 +0000 Subject: changeset in /hg/icedtea: 2007-12-04 Gary Benson changeset 97b0531d1956 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=97b0531d1956 description: 2007-12-04 Gary Benson * patches/icedtea-c1-unimplemented.patch: New file. * Makefile.am (ICEDTEA_PATCHES): Add the above. * Makefile.in: Regenerate. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp (is_simm, is_simm16): New methods. * ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp (RangeCheckStub::RangeCheckStub): Implement. (NewInstanceStub::NewInstanceStub): Likewise. (NewInstanceStub::emit_code): Re-stub. * ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp (pd_nof_cpu_regs_frame_map): Set. (pd_nof_fpu_regs_frame_map): Likewise. (pd_nof_caller_save_cpu_regs_frame_map): Likewise. (pd_nof_caller_save_fpu_regs_frame_map): Likewise. (pd_nof_cpu_regs_linearscan): Likewise. (pd_nof_fpu_regs_linearscan): Likewise. (pd_first_cpu_reg): Likewise. (pd_last_cpu_reg): Likewise. (pd_last_fpu_reg): Likewise. * ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp (gpr_opr, gpr_oop_opr, fpr_opr): New fields. (as_long_opr): New method. * ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp (FrameMap::init): Partially implement. (FrameMap::map_to_opr): Likewise. (FrameMap::validate_frame): Likewise. * ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp (emit_unimplemented): New method. * ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp (receiverOpr): Partially implement. (initial_frame_size_in_bytes): Implement. (check_icache): Re-stub. (emit_exception_handler): Likewise. (emit_deopt_handler): Likewise. (align_call): Implement. (call): Re-stub. (const2mem): Likewise. (const2reg): Likewise. (reg2reg): Likewise. (reg2mem): Likewise. (return_op): Likewise. (emit_static_call_stub): Likewise. (shift_op): Likewise. (emit_alloc_obj): Likewise. (peephole): Implement. (emit_unimplemented): New method. * ports/hotspot/src/cpu/ppc/vm/c1_LIRGenerator_ppc.cpp (load_byte_item): Implement. (load_nonconstant): Likewise. (result_register_for): Partially implement. (can_store_as_constant): Implement. (can_inline_as_constant): Likewise. (generate_address): Implement. (emit_array_address): Partially implement. (cmp_reg_mem): Re-stub. (strength_reduce_multiply): Implement. (do_ArithmeticOp_Int): New method. (do_ArithmeticOp): Partially implement. (do_NewInstance): Likewise. (do_BlockBegin): Re-stub. (do_If): Likewise. * ports/hotspot/src/cpu/ppc/vm/c1_LinearScan_ppc.cpp (is_processed_reg_num): Partially implement. (num_physical_regs): Likewise. (requires_adjacent_regs): Implement. (pd_add_temps): Likewise. (pd_init_regs_for_alloc): Partially implement. * ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.hpp (pd_init): Implement. * ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.cpp (verified_entry): Re-stub. (build_frame): Likewise. * ports/hotspot/src/cpu/ppc/vm/c1_Runtime1_ppc.cpp (generate_code_for): Re-stub. * ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp (NativeJump::check_verified_entry_alignment): Implement. (NativeJump::patch_verified_entry): Likewise. * ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp (out_preserve_stack_slots): Partially implement. * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp (is_Register): New method. (is_FloatRegister): Likewise. (as_Register): Implement. (as_FloatRegister): Likewise. * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp (non_memory_address_word): Implement. diffstat: 20 files changed, 1337 insertions(+), 554 deletions(-) ChangeLog | 90 ++ Makefile.am | 1 Makefile.in | 1 patches/icedtea-c1-unimplemented.patch | 136 +++ ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 12 ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp | 18 ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp | 18 ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp | 61 + ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp | 8 ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp | 578 ++++++------- ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp | 2 ports/hotspot/src/cpu/ppc/vm/c1_LIRGenerator_ppc.cpp | 692 ++++++++++------ ports/hotspot/src/cpu/ppc/vm/c1_LinearScan_ppc.cpp | 25 ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.cpp | 4 ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.hpp | 2 ports/hotspot/src/cpu/ppc/vm/c1_Runtime1_ppc.cpp | 199 ++++ ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp | 8 ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp | 6 ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp | 25 ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp | 5 diffs (truncated from 2182 to 500 lines): diff -r 62c402e6e198 -r 97b0531d1956 ChangeLog --- a/ChangeLog Fri Nov 30 11:25:24 2007 -0500 +++ b/ChangeLog Tue Dec 04 04:24:44 2007 -0500 @@ -1,3 +1,93 @@ 2007-11-30 Gary Benson + + * patches/icedtea-c1-unimplemented.patch: New file. + * Makefile.am (ICEDTEA_PATCHES): Add the above. + * Makefile.in: Regenerate. + + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp + (is_simm, is_simm16): New methods. + * ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp + (RangeCheckStub::RangeCheckStub): Implement. + (NewInstanceStub::NewInstanceStub): Likewise. + (NewInstanceStub::emit_code): Re-stub. + * ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp + (pd_nof_cpu_regs_frame_map): Set. + (pd_nof_fpu_regs_frame_map): Likewise. + (pd_nof_caller_save_cpu_regs_frame_map): Likewise. + (pd_nof_caller_save_fpu_regs_frame_map): Likewise. + (pd_nof_cpu_regs_linearscan): Likewise. + (pd_nof_fpu_regs_linearscan): Likewise. + (pd_first_cpu_reg): Likewise. + (pd_last_cpu_reg): Likewise. + (pd_last_fpu_reg): Likewise. + * ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp + (gpr_opr, gpr_oop_opr, fpr_opr): New fields. + (as_long_opr): New method. + * ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp + (FrameMap::init): Partially implement. + (FrameMap::map_to_opr): Likewise. + (FrameMap::validate_frame): Likewise. + * ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.hpp + (emit_unimplemented): New method. + * ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp + (receiverOpr): Partially implement. + (initial_frame_size_in_bytes): Implement. + (check_icache): Re-stub. + (emit_exception_handler): Likewise. + (emit_deopt_handler): Likewise. + (align_call): Implement. + (call): Re-stub. + (const2mem): Likewise. + (const2reg): Likewise. + (reg2reg): Likewise. + (reg2mem): Likewise. + (return_op): Likewise. + (emit_static_call_stub): Likewise. + (shift_op): Likewise. + (emit_alloc_obj): Likewise. + (peephole): Implement. + (emit_unimplemented): New method. + * ports/hotspot/src/cpu/ppc/vm/c1_LIRGenerator_ppc.cpp + (load_byte_item): Implement. + (load_nonconstant): Likewise. + (result_register_for): Partially implement. + (can_store_as_constant): Implement. + (can_inline_as_constant): Likewise. + (generate_address): Implement. + (emit_array_address): Partially implement. + (cmp_reg_mem): Re-stub. + (strength_reduce_multiply): Implement. + (do_ArithmeticOp_Int): New method. + (do_ArithmeticOp): Partially implement. + (do_NewInstance): Likewise. + (do_BlockBegin): Re-stub. + (do_If): Likewise. + * ports/hotspot/src/cpu/ppc/vm/c1_LinearScan_ppc.cpp + (is_processed_reg_num): Partially implement. + (num_physical_regs): Likewise. + (requires_adjacent_regs): Implement. + (pd_add_temps): Likewise. + (pd_init_regs_for_alloc): Partially implement. + * ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.hpp + (pd_init): Implement. + * ports/hotspot/src/cpu/ppc/vm/c1_MacroAssembler_ppc.cpp + (verified_entry): Re-stub. + (build_frame): Likewise. + * ports/hotspot/src/cpu/ppc/vm/c1_Runtime1_ppc.cpp + (generate_code_for): Re-stub. + * ports/hotspot/src/cpu/ppc/vm/nativeInst_ppc.hpp + (NativeJump::check_verified_entry_alignment): Implement. + (NativeJump::patch_verified_entry): Likewise. + * ports/hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp + (out_preserve_stack_slots): Partially implement. + * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp + (is_Register): New method. + (is_FloatRegister): Likewise. + (as_Register): Implement. + (as_FloatRegister): Likewise. + * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp + (non_memory_address_word): Implement. + 2007-11-30 Gary Benson * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp diff -r 62c402e6e198 -r 97b0531d1956 Makefile.am --- a/Makefile.am Fri Nov 30 11:25:24 2007 -0500 +++ b/Makefile.am Tue Dec 04 04:24:44 2007 -0500 @@ -204,6 +204,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-linker-options.patch \ patches/icedtea-ports.patch \ patches/icedtea-lcms-leak.patch \ + patches/icedtea-c1-unimplemented.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 62c402e6e198 -r 97b0531d1956 Makefile.in --- a/Makefile.in Fri Nov 30 11:25:24 2007 -0500 +++ b/Makefile.in Tue Dec 04 04:24:44 2007 -0500 @@ -312,6 +312,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-linker-options.patch \ patches/icedtea-ports.patch \ patches/icedtea-lcms-leak.patch \ + patches/icedtea-c1-unimplemented.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r 62c402e6e198 -r 97b0531d1956 patches/icedtea-c1-unimplemented.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-c1-unimplemented.patch Tue Dec 04 04:24:44 2007 -0500 @@ -0,0 +1,136 @@ +--- openjdk-ecj/hotspot/src/share/vm/c1/c1_LIR.hpp 2007-12-03 09:55:25.000000000 +0000 ++++ openjdk/hotspot/src/share/vm/c1/c1_LIR.hpp 2007-12-03 09:30:13.000000000 +0000 +@@ -656,6 +656,9 @@ + class LIR_OpTypeCheck; + class LIR_OpCompareAndSwap; + class LIR_OpProfileCall; ++#ifdef PPC ++class LIR_OpUnimplemented; ++#endif + + + // LIR operation codes +@@ -764,6 +767,11 @@ + , begin_opMDOProfile + , lir_profile_call + , end_opMDOProfile ++#ifdef PPC ++ , begin_opUnimplemented ++ , lir_unimplemented ++ , end_opUnimplemented ++#endif + }; + + +@@ -898,6 +906,9 @@ + virtual LIR_OpTypeCheck* as_OpTypeCheck() { return NULL; } + virtual LIR_OpCompareAndSwap* as_OpCompareAndSwap() { return NULL; } + virtual LIR_OpProfileCall* as_OpProfileCall() { return NULL; } ++#ifdef PPC ++ virtual LIR_OpUnimplemented* as_OpUnimplemented() { return NULL; } ++#endif + + virtual void verify() const {} + }; +@@ -1579,6 +1590,24 @@ + virtual void print_instr(outputStream* out) const PRODUCT_RETURN; + }; + ++#ifdef PPC ++// LIR_OpUnimplemented ++class LIR_OpUnimplemented : public LIR_Op { ++ private: ++ const char* _file; ++ const int _line; ++ ++ public: ++ LIR_OpUnimplemented(const char* file, int line) ++ : LIR_Op(lir_unimplemented, LIR_OprFact::illegalOpr, NULL), ++ _file(file), ++ _line(line) {} ++ ++ virtual void emit_code(LIR_Assembler* masm); ++ virtual LIR_OpUnimplemented* as_OpUnimplemented() { return this; } ++ virtual void print_instr(outputStream* out) const PRODUCT_RETURN; ++}; ++#endif + + class LIR_InsertionBuffer; + +@@ -1837,6 +1866,14 @@ + + // methodDataOop profiling + void profile_call(ciMethod* method, int bci, LIR_Opr mdo, LIR_Opr recv, LIR_Opr t1, ciKlass* cha_klass) { append(new LIR_OpProfileCall(lir_profile_call, method, bci, mdo, recv, t1, cha_klass)); } ++ ++ // stubbing ++#ifdef PPC ++ void unimplemented(const char* file, int line) ++ { ++ append(new LIR_OpUnimplemented(file, line)); ++ } ++#endif + }; + + void print_LIR(BlockList* blocks); +--- openjdk-ecj/hotspot/src/share/vm/c1/c1_LIR.cpp 2007-12-03 09:55:25.000000000 +0000 ++++ openjdk/hotspot/src/share/vm/c1/c1_LIR.cpp 2007-12-03 09:50:04.000000000 +0000 +@@ -861,6 +861,16 @@ + break; + } + ++#ifdef PPC ++// LIR_OpUnimplemented: ++ case lir_unimplemented: { ++ assert(op->as_OpUnimplemented() != NULL, "must be"); ++ assert(op->_info == NULL, "info not used by this instruction"); ++ assert(op->_result->is_illegal(), "not used"); ++ break; ++ } ++#endif ++ + default: + ShouldNotReachHere(); + } +@@ -1003,6 +1013,12 @@ + masm->emit_profile_call(this); + } + ++#ifdef PPC ++void LIR_OpUnimplemented::emit_code(LIR_Assembler* masm) { ++ masm->emit_unimplemented(_file, _line); ++} ++#endif ++ + + // LIR_List + LIR_List::LIR_List(Compilation* compilation, BlockBegin* block) +@@ -1617,6 +1633,10 @@ + case lir_cas_int: s = "cas_int"; break; + // LIR_OpProfileCall + case lir_profile_call: s = "profile_call"; break; ++#ifdef PPC ++ // LIR_OpUnimplemented ++ case lir_unimplemented: s = "unimplemented"; break; ++#endif + + case lir_none: ShouldNotReachHere();break; + default: s = "illegal_op"; break; +@@ -1869,6 +1889,18 @@ + tmp1()->print(out); out->print(" "); + } + ++#ifdef PPC ++// LIR_OpUnimplemented ++void LIR_OpUnimplemented::print_instr(outputStream* out) const { ++ char sep = os::file_separator()[0]; ++ const char *file = strrchr(_file, sep); ++ if (file) ++ file++; ++ else ++ file = _file; ++ out->print("[%s:%d]", file, _line); ++} ++#endif // PPC + + #endif // PRODUCT + diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Tue Dec 04 04:24:44 2007 -0500 @@ -65,6 +65,18 @@ class Assembler : public AbstractAssembl class Assembler : public AbstractAssembler { public: Assembler(CodeBuffer* code) : AbstractAssembler(code) {} + + private: + static bool is_simm(int x, int nbits) + { + return -(1 << nbits - 1) <= x && x < (1 << nbits - 1); + } + + public: + static bool is_simm16(int x) + { + return is_simm(x, 16); + } private: // Instruction emitters for the various forms. diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/c1_CodeStubs_ppc.cpp Tue Dec 04 04:24:44 2007 -0500 @@ -26,10 +26,14 @@ #include "incls/_precompiled.incl" #include "incls/_c1_CodeStubs_ppc.cpp.incl" +#define __ ce->masm()-> + RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, bool throw_index_out_of_bounds_exception) + : _throw_index_out_of_bounds_exception(throw_index_out_of_bounds_exception), + _index(index) { - Unimplemented(); + _info = new CodeEmitInfo(info); } void RangeCheckStub::emit_code(LIR_Assembler* ce) @@ -46,12 +50,20 @@ NewInstanceStub::NewInstanceStub(LIR_Opr ciInstanceKlass* klass, CodeEmitInfo* info, Runtime1::StubID stub_id) { - Unimplemented(); + _result = result; + _klass = klass; + _klass_reg = klass_reg; + _info = new CodeEmitInfo(info); + assert(stub_id == Runtime1::new_instance_id || + stub_id == Runtime1::fast_new_instance_id || + stub_id == Runtime1::fast_new_instance_init_check_id, + "need new_instance id"); + _stub_id = stub_id; } void NewInstanceStub::emit_code(LIR_Assembler* ce) { - Unimplemented(); + __ unimplemented (__FILE__, __LINE__); } MonitorEnterStub::MonitorEnterStub(LIR_Opr obj_reg, LIR_Opr lock_reg, diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/c1_Defs_ppc.hpp Tue Dec 04 04:24:44 2007 -0500 @@ -40,27 +40,27 @@ enum { enum { #ifdef XXX_EVIL_EVIL_EVIL // numbers of registers used during code emission - pd_nof_cpu_regs_frame_map = 0, - pd_nof_fpu_regs_frame_map = 0, + pd_nof_cpu_regs_frame_map = 32, + pd_nof_fpu_regs_frame_map = 32, // numbers of registers killed by calls - pd_nof_caller_save_cpu_regs_frame_map = 1, - pd_nof_caller_save_fpu_regs_frame_map = 1, + pd_nof_caller_save_cpu_regs_frame_map = 11, + pd_nof_caller_save_fpu_regs_frame_map = 14, // numbers of registers visible to register allocator pd_nof_cpu_regs_reg_alloc = 0, pd_nof_fpu_regs_reg_alloc = 0, // numbers of registers visible to linear scan - pd_nof_cpu_regs_linearscan = 0, - pd_nof_fpu_regs_linearscan = 0, + pd_nof_cpu_regs_linearscan = 32, + pd_nof_fpu_regs_linearscan = 32, pd_nof_xmm_regs_linearscan = 0, // specifics - pd_first_cpu_reg = 0, - pd_last_cpu_reg = 0, + pd_first_cpu_reg = 3, // skip r0, r1 and r2 + pd_last_cpu_reg = 30, // skip Rthread pd_first_fpu_reg = 0, - pd_last_fpu_reg = 0, + pd_last_fpu_reg = 31, #endif }; diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.cpp Tue Dec 04 04:24:44 2007 -0500 @@ -26,22 +26,69 @@ #include "incls/_precompiled.incl" #include "incls/_c1_FrameMap_ppc.cpp.incl" -void FrameMap::init() +LIR_Opr FrameMap::map_to_opr(BasicType type, VMRegPair* reg, bool) { - Unimplemented(); + LIR_Opr opr = LIR_OprFact::illegalOpr; + VMReg r_1 = reg->first(); + VMReg r_2 = reg->second(); + if (r_1->is_stack()) { + Unimplemented(); + } + else if (r_1->is_Register()) { + Register reg = r_1->as_Register(); + if (r_2->is_Register()) { + Register reg2 = r_2->as_Register(); + opr = as_long_opr(reg2, reg); + } else if (type == T_OBJECT) { + opr = as_oop_opr(reg); + } else { + opr = as_opr(reg); + } + } + else if (r_1->is_FloatRegister()) { + Unimplemented(); + } + else { + ShouldNotReachHere(); + } + return opr; } -LIR_Opr FrameMap::map_to_opr(BasicType type, VMRegPair* reg, bool) -{ - Unimplemented(); -} +LIR_Opr FrameMap::gpr_opr[]; +LIR_Opr FrameMap::gpr_oop_opr[]; +LIR_Opr FrameMap::fpr_opr[]; LIR_Opr FrameMap::_caller_save_cpu_regs[] = { 0, }; LIR_Opr FrameMap::_caller_save_fpu_regs[] = { 0, }; +void FrameMap::init() +{ + if (_init_done) + return; + + for (int i = 0; i < nof_cpu_regs; i++) { + map_register(i, as_Register(i)); + gpr_opr[i] = LIR_OprFact::single_cpu(i); + gpr_oop_opr[i] = LIR_OprFact::single_cpu_oop(i); + } + + for (int i = 0, j = 0; j < nof_caller_save_cpu_regs; i++) { + if (i != 1 && i != 2) + _caller_save_cpu_regs[j++] = LIR_OprFact::single_cpu(i); + } + + for (int i = 0; i < nof_caller_save_fpu_regs; i++) { + _caller_save_fpu_regs[i] = LIR_OprFact::single_fpu(i); + } + + _init_done = true; +} + bool FrameMap::validate_frame() { - Unimplemented(); +#ifdef XXX_EVIL_EVIL_EVIL + return true; +#endif } VMReg FrameMap::fpu_regname(int n) diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/c1_FrameMap_ppc.hpp Tue Dec 04 04:24:44 2007 -0500 @@ -31,6 +31,14 @@ #endif }; + static LIR_Opr gpr_opr[nof_cpu_regs]; + static LIR_Opr gpr_oop_opr[nof_cpu_regs]; + static LIR_Opr fpr_opr[nof_fpu_regs]; + + static LIR_Opr as_long_opr(Register r, Register r2) { + return LIR_OprFact::double_cpu(cpu_reg2rnr(r), cpu_reg2rnr(r2)); + } + static VMReg fpu_regname(int n); static bool is_caller_save_register(LIR_Opr reg); diff -r 62c402e6e198 -r 97b0531d1956 ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp Fri Nov 30 11:25:24 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/c1_LIRAssembler_ppc.cpp Tue Dec 04 04:24:44 2007 -0500 @@ -26,73 +26,309 @@ #include "incls/_precompiled.incl" #include "incls/_c1_LIRAssembler_ppc.cpp.incl" +#define __ _masm-> + +LIR_Opr LIR_Assembler::receiverOpr() +{ +#ifdef XXX_EVIL_EVIL_EVIL + return FrameMap::gpr_oop_opr[3]; +#endif +} + +LIR_Opr LIR_Assembler::osrBufferPointer() +{ + Unimplemented(); +} + +int LIR_Assembler::initial_frame_size_in_bytes() +{ + return in_bytes(frame_map()->framesize_in_bytes()); +} + +int LIR_Assembler::check_icache() +{ + __ unimplemented (__FILE__, __LINE__); +} + +void LIR_Assembler::osr_entry() +{ + Unimplemented(); +} + +void LIR_Assembler::emit_exception_handler() +{ + compilation()->offsets()->set_value(CodeOffsets::Exceptions, code_offset()); From bugzilla-daemon at icedtea.classpath.org Tue Dec 4 09:29:38 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 17:29:38 +0000 Subject: [Bug 76] gcjwebplugin AppletViewer HTML parsing: incorrect value for width/height attribute "100%" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=76 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at icedtea.classpath|langel at redhat.com |.org | -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 4 11:36:30 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 04 Dec 2007 19:36:30 +0000 Subject: [Bug 84] jar c0mf@ causes error "Illegal option: @" Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=84 ------- Comment #5 from psj at familyjenner.co.uk 2007-12-04 19:36 ------- FWIW there is a thread here: http://developer.classpath.org/pipermail/classpath-patches/2007-July/005551.html about missing @ support in gjar breaking very old builds of OpenJDK and a partial patch to add @ support that I believe was never applied to Classpath. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 4 16:38:19 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 05 Dec 2007 00:38:19 +0000 Subject: [Bug 85] java.lang.NoClassDefFoundError: sun/plugin/javascript/JSContext Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=85 ------- Comment #2 from jarkko.lietolahti at jab.fi 2007-12-05 00:38 ------- Ok, thaks for the info. Is there any way to get scripting work? I tried copying plugin.jar from Sun's JDK to lib/ext to test it, but it didn't work (nothing happened, no error message ). -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From fitzsim at redhat.com Wed Dec 5 08:02:42 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Wed, 05 Dec 2007 16:02:42 +0000 Subject: changeset in /hg/icedtea: 2007-12-05 Thomas Fitzsimmons changeset 05d27d2749e5 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=05d27d2749e5 description: 2007-12-05 Thomas Fitzsimmons * Makefile.am (EXTRA_DIST): Add ports directory. * Makefile.in: Regenerate. diffstat: 3 files changed, 7 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ Makefile.am | 2 +- Makefile.in | 2 +- diffs (36 lines): diff -r 97b0531d1956 -r 05d27d2749e5 ChangeLog --- a/ChangeLog Tue Dec 04 04:24:44 2007 -0500 +++ b/ChangeLog Wed Dec 05 11:02:24 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-04 Gary Benson + + * Makefile.am (EXTRA_DIST): Add ports directory. + * Makefile.in: Regenerate. + 2007-12-04 Gary Benson * patches/icedtea-c1-unimplemented.patch: New file. diff -r 97b0531d1956 -r 05d27d2749e5 Makefile.am --- a/Makefile.am Tue Dec 04 04:24:44 2007 -0500 +++ b/Makefile.am Wed Dec 05 11:02:24 2007 -0500 @@ -29,7 +29,7 @@ install: clean-copy clean-rt clean-gcjwebplugin EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \ - gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib + gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports # OpenJDK build environment. LINUX_DIR = linux-$(BUILD_ARCH_DIR) diff -r 97b0531d1956 -r 05d27d2749e5 Makefile.in --- a/Makefile.in Tue Dec 04 04:24:44 2007 -0500 +++ b/Makefile.in Wed Dec 05 11:02:24 2007 -0500 @@ -191,7 +191,7 @@ OPENJDK_DATE = 30_oct_2007 OPENJDK_DATE = 30_oct_2007 OPENJDK_MD5SUM = 7eed137c0321e0b5b75ff2d646ce0d0d EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \ - gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib + gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports # OpenJDK build environment. From bugzilla-daemon at icedtea.classpath.org Fri Dec 7 06:52:11 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Dec 2007 14:52:11 +0000 Subject: [Bug 86] New: audioclip.stop seems not to do anything Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=86 Summary: audioclip.stop seems not to do anything Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: plugwash at p10link.net I have a test applet (which I will attatch in a minuite) that plays a sound using audioclip, does a short sleep then stops it. on sun java 6 this works as expected, I hear a very short peice of the start of the sound file. on icedtea the entire sound file plays. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 7 06:52:47 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Dec 2007 14:52:47 +0000 Subject: [Bug 86] audioclip.stop seems not to do anything Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=86 ------- Comment #1 from plugwash at p10link.net 2007-12-07 14:52 ------- Created an attachment (id=38) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=38&action=view) html file for test applet -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 7 06:53:06 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Dec 2007 14:53:06 +0000 Subject: [Bug 86] audioclip.stop seems not to do anything Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=86 ------- Comment #2 from plugwash at p10link.net 2007-12-07 14:53 ------- Created an attachment (id=39) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=39&action=view) source code for test applet -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 7 08:12:52 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Dec 2007 16:12:52 +0000 Subject: [Bug 86] audioclip.stop seems not to do anything Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=86 ------- Comment #3 from jsumali at redhat.com 2007-12-07 16:12 ------- (In reply to comment #0) > I have a test applet (which I will attatch in a minuite) that plays a sound > using audioclip, does a short sleep then stops it. > > on sun java 6 this works as expected, I hear a very short peice of the start of > the sound file. > > on icedtea the entire sound file plays. > I've tested the applet using gcjwebplugin and icedtea b23, and my sound file does only play a short piece -- not the whole thing. What does readlink -f `which java` and java -version give you? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From psj at familyjenner.co.uk Fri Dec 7 11:19:01 2007 From: psj at familyjenner.co.uk (Paul Jenner) Date: Fri, 07 Dec 2007 19:19:01 +0000 Subject: some replacements for encumbered binary plugs no longer required? Message-ID: <1197055141.3568.12.camel@localhost.localdomain> Hi all. It looks like some of the replacements for encumbered binary plugs in IcedTea are no longer required - as plugs have either been opened or replaced in OpenJDK. As a quick first pass: 1) Ductus renderer: Looks like it was replaced in OpenJDK here: http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2007-October/000049.html Allowing removal of: libdcpr.so (from Makefile.am) rt/sun/dc rt/sun/dc/pr rt/sun/dc/pr/PRException.java rt/sun/dc/pr/PathDasher.java rt/sun/dc/pr/Rasterizer.java rt/sun/dc/pr/PathStroker.java rt/sun/dc/path rt/sun/dc/path/PathException.java rt/sun/dc/path/PathConsumer.java rt/sun/dc/path/FastPathProducer.java 2) Encumbered sound: Looks like it was partially opened here: http://mail.openjdk.java.net/pipermail/sound-dev/2007-September/000037.html Allowing removal of: libjsoundalsa.so (from Makefile.am) libjsound.so (from Makefile.am) (only libjsoundhs.so looks to be needed from the referenced e-mail) 3) Lib2k font library: Looks like it was replaced in OpenJDK here: http://mail.openjdk.java.net/pipermail/2d-dev/2007-August/000037.html Allowing removal of: libt2k.so (from Makefile.am) 4) unused gnu. imports: It looks like: rt/gnu/java/io rt/gnu/java/io/Base64InputStream.java was left over from the merge of GNU crypto and is no longer used. I intended to try a build with these removed to confirm they really weren't required but hit a problem with ecj build (org.xml.sax.helpers not found) so thought I would mail for comment in the meantime. Is there any intention to review and keep the replacement plugs as small as possible - or is it simply not worth the effort of removal now as this is a temporary solution anyway and does not really hurt to leave a few unnecessary ones around? Thanks, Paul -- Paul Jenner From langel at redhat.com Fri Dec 7 11:21:50 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 07 Dec 2007 14:21:50 -0500 Subject: some replacements for encumbered binary plugs no longer required? In-Reply-To: <1197055141.3568.12.camel@localhost.localdomain> References: <1197055141.3568.12.camel@localhost.localdomain> Message-ID: <47599D4E.1020003@redhat.com> Paul Jenner wrote: > Hi all. > > It looks like some of the replacements for encumbered binary plugs in > IcedTea are no longer required - as plugs have either been opened or > replaced in OpenJDK. > > As a quick first pass: > > 1) Ductus renderer: > > Looks like it was replaced in OpenJDK here: > http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2007-October/000049.html > > Allowing removal of: > > libdcpr.so (from Makefile.am) > > rt/sun/dc > rt/sun/dc/pr > rt/sun/dc/pr/PRException.java > rt/sun/dc/pr/PathDasher.java > rt/sun/dc/pr/Rasterizer.java > rt/sun/dc/pr/PathStroker.java > rt/sun/dc/path > rt/sun/dc/path/PathException.java > rt/sun/dc/path/PathConsumer.java > rt/sun/dc/path/FastPathProducer.java > > 2) Encumbered sound: > > Looks like it was partially opened here: > http://mail.openjdk.java.net/pipermail/sound-dev/2007-September/000037.html > > Allowing removal of: > > libjsoundalsa.so (from Makefile.am) > libjsound.so (from Makefile.am) > > (only libjsoundhs.so looks to be needed from the referenced e-mail) > > 3) Lib2k font library: > > Looks like it was replaced in OpenJDK here: > http://mail.openjdk.java.net/pipermail/2d-dev/2007-August/000037.html > > Allowing removal of: > > libt2k.so (from Makefile.am) > > 4) unused gnu. imports: > > It looks like: > > rt/gnu/java/io > rt/gnu/java/io/Base64InputStream.java > > was left over from the merge of GNU crypto and is no longer used. > > I intended to try a build with these removed to confirm they really > weren't required but hit a problem with ecj build (org.xml.sax.helpers > not found) so thought I would mail for comment in the meantime. > > Is there any intention to review and keep the replacement plugs as small > as possible - or is it simply not worth the effort of removal now as > this is a temporary solution anyway and does not really hurt to leave a > few unnecessary ones around? They will be removed. It doesn't hurt to keep them around, but they are not necessary. Thanks for pointing this out, Lillian From langel at redhat.com Fri Dec 7 11:34:02 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 07 Dec 2007 14:34:02 -0500 Subject: some replacements for encumbered binary plugs no longer required? In-Reply-To: <47599D4E.1020003@redhat.com> References: <1197055141.3568.12.camel@localhost.localdomain> <47599D4E.1020003@redhat.com> Message-ID: <4759A02A.90503@redhat.com> Hi, Lillian Angel wrote: > > > Paul Jenner wrote: >> Hi all. >> >> It looks like some of the replacements for encumbered binary plugs in >> IcedTea are no longer required - as plugs have either been opened or >> replaced in OpenJDK. >> >> As a quick first pass: >> >> 1) Ductus renderer: >> >> Looks like it was replaced in OpenJDK here: >> http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2007-October/000049.html >> >> >> Allowing removal of: >> >> libdcpr.so (from Makefile.am) >> >> rt/sun/dc >> rt/sun/dc/pr >> rt/sun/dc/pr/PRException.java >> rt/sun/dc/pr/PathDasher.java >> rt/sun/dc/pr/Rasterizer.java >> rt/sun/dc/pr/PathStroker.java >> rt/sun/dc/path >> rt/sun/dc/path/PathException.java >> rt/sun/dc/path/PathConsumer.java >> rt/sun/dc/path/FastPathProducer.java These don't exist in the b23/b24 bundle. Possibly b25 or later? >> >> 2) Encumbered sound: >> >> Looks like it was partially opened here: >> http://mail.openjdk.java.net/pipermail/sound-dev/2007-September/000037.html >> >> >> Allowing removal of: >> >> libjsoundalsa.so (from Makefile.am) >> libjsound.so (from Makefile.am) >> >> (only libjsoundhs.so looks to be needed from the referenced e-mail) I think you are correct here. >> >> 3) Lib2k font library: >> >> Looks like it was replaced in OpenJDK here: >> http://mail.openjdk.java.net/pipermail/2d-dev/2007-August/000037.html >> >> Allowing removal of: >> >> libt2k.so (from Makefile.am) Right. >> >> 4) unused gnu. imports: >> >> It looks like: >> >> rt/gnu/java/io >> rt/gnu/java/io/Base64InputStream.java >> >> was left over from the merge of GNU crypto and is no longer used. Oops. >> >> I intended to try a build with these removed to confirm they really >> weren't required but hit a problem with ecj build (org.xml.sax.helpers >> not found) so thought I would mail for comment in the meantime. >> >> Is there any intention to review and keep the replacement plugs as small >> as possible - or is it simply not worth the effort of removal now as >> this is a temporary solution anyway and does not really hurt to leave a >> few unnecessary ones around? > > They will be removed. It doesn't hurt to keep them around, but they are > not necessary. Lillian From bugzilla-daemon at icedtea.classpath.org Fri Dec 7 11:40:34 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 07 Dec 2007 19:40:34 +0000 Subject: [Bug 86] audioclip.stop seems not to do anything Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=86 plugwash at p10link.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #4 from plugwash at p10link.net 2007-12-07 19:40 ------- close this bug, it seems the differences I detected with this particular sample code were simply due to different ammounts of stuff being in cache. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From psj at familyjenner.co.uk Fri Dec 7 11:45:44 2007 From: psj at familyjenner.co.uk (Paul Jenner) Date: Fri, 07 Dec 2007 19:45:44 +0000 Subject: some replacements for encumbered binary plugs no longer required? In-Reply-To: <4759A02A.90503@redhat.com> References: <1197055141.3568.12.camel@localhost.localdomain> <47599D4E.1020003@redhat.com> <4759A02A.90503@redhat.com> Message-ID: <1197056744.3568.22.camel@localhost.localdomain> Hi Lillian. On Fri, 2007-12-07 at 14:34 -0500, Lillian Angel wrote: > >> 1) Ductus renderer: > >> > >> Looks like it was replaced in OpenJDK here: > >> http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2007-October/000049.html > >> > >> > >> Allowing removal of: > >> > >> libdcpr.so (from Makefile.am) > >> > >> rt/sun/dc > >> rt/sun/dc/pr > >> rt/sun/dc/pr/PRException.java > >> rt/sun/dc/pr/PathDasher.java > >> rt/sun/dc/pr/Rasterizer.java > >> rt/sun/dc/pr/PathStroker.java > >> rt/sun/dc/path > >> rt/sun/dc/path/PathException.java > >> rt/sun/dc/path/PathConsumer.java > >> rt/sun/dc/path/FastPathProducer.java > > These don't exist in the b23/b24 bundle. Possibly b25 or later? I think they were replaced rather than opened. So they don't exist in the OpenJDK bundles because they are no longer used. A quick grep for import sun.dc does show up a reference though - so I am probably completely wrong :-) I was going to try a build with them removed to confirm. Thanks, Paul -- Paul Jenner From langel at redhat.com Fri Dec 7 12:45:21 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 07 Dec 2007 20:45:21 +0000 Subject: changeset in /hg/icedtea: 2007-12-07 Lillian Angel changeset 312fb1b75e61 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=312fb1b75e61 description: 2007-12-07 Lillian Angel * Makefile.am: Removed libjsoundalso.so, libjsound.so,libt2k.so. * Makefile.in: Regenerate. * rt/gnu/java/io/Base64InputStream.java: Removed, not used. diffstat: 4 files changed, 8 insertions(+), 228 deletions(-) ChangeLog | 6 Makefile.am | 5 Makefile.in | 5 rt/gnu/java/io/Base64InputStream.java | 220 --------------------------------- diffs (269 lines): diff -r 05d27d2749e5 -r 312fb1b75e61 ChangeLog --- a/ChangeLog Wed Dec 05 11:02:24 2007 -0500 +++ b/ChangeLog Fri Dec 07 15:44:09 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-05 Thomas Fitzsimmons + + * Makefile.am: Removed libjsoundalso.so, libjsound.so,libt2k.so. + * Makefile.in: Regenerate. + * rt/gnu/java/io/Base64InputStream.java: Removed, not used. + 2007-12-05 Thomas Fitzsimmons * Makefile.am (EXTRA_DIST): Add ports directory. diff -r 05d27d2749e5 -r 312fb1b75e61 Makefile.am --- a/Makefile.am Wed Dec 05 11:02:24 2007 -0500 +++ b/Makefile.am Fri Dec 07 15:44:09 2007 -0500 @@ -500,10 +500,7 @@ clean-tools-jar: clean-tools-jar clean-t # Shared objects. SHARED_OBJECT_FILES = \ bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libdcpr.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundalsa.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsound.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundhs.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libt2k.so + bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundhs.so $(SHARED_OBJECT_FILES): mkdir -p bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR) diff -r 05d27d2749e5 -r 312fb1b75e61 Makefile.in --- a/Makefile.in Wed Dec 05 11:02:24 2007 -0500 +++ b/Makefile.in Fri Dec 07 15:44:09 2007 -0500 @@ -332,10 +332,7 @@ ICEDTEA_ECJ_PATCH = patches/icedtea-ecj. # Shared objects. SHARED_OBJECT_FILES = \ bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libdcpr.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundalsa.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsound.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundhs.so \ - bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libt2k.so + bootstrap/jdk1.7.0/jre/lib/$(INSTALL_ARCH_DIR)/libjsoundhs.so # Sources copied from OpenJDK. diff -r 05d27d2749e5 -r 312fb1b75e61 generated/sun/awt/X11/generator/sizer.32 Binary file generated/sun/awt/X11/generator/sizer.32 has changed diff -r 05d27d2749e5 -r 312fb1b75e61 rt/gnu/java/io/Base64InputStream.java --- a/rt/gnu/java/io/Base64InputStream.java Wed Dec 05 11:02:24 2007 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,220 +0,0 @@ -/* Base64InputStream.java -- base-64 input stream. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.io; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.FilterInputStream; -import java.io.IOException; -import java.io.InputStream; - -/** - * A filter input stream that decodes data encoded in the Base-64 - * encoding scheme. - * - * @author Casey Marshall (rsdio at metastatic.org) - */ -public class Base64InputStream extends FilterInputStream -{ - - // Constants and fields. - // ------------------------------------------------------------------------ - - /** Base-64 digits. */ - private static final String BASE_64 = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - - /** Base-64 padding character. */ - private static final char BASE_64_PAD = '='; - - /** Decoding state. */ - private int state; - - /** Intermediate decoded value. */ - private int temp; - - /** EOF flag. */ - private boolean eof; - - private final byte[] one = new byte[1]; - - // Constructors. - // ------------------------------------------------------------------------ - - /** - * Create a new Base-64 input stream. The input bytes must be the - * ASCII characters A-Z, a-z, 0-9, + and /, with optional whitespace, - * and will be decoded into a byte stream. - * - * @param in The source of Base-64 input. - */ - public Base64InputStream(InputStream in) - { - super(in); - state = 0; - temp = 0; - eof = false; - } - - // Class method. - // ------------------------------------------------------------------------ - - /** - * Decode a single Base-64 string to a byte array. - * - * @param base64 The Base-64 encoded data. - * @return The decoded bytes. - * @throws IOException If the given data do not compose a valid Base-64 - * sequence. - */ - public static byte[] decode(String base64) throws IOException - { - Base64InputStream in = - new Base64InputStream(new ByteArrayInputStream(base64.getBytes())); - ByteArrayOutputStream out = - new ByteArrayOutputStream((int) (base64.length() / 0.666)); - byte[] buf = new byte[1024]; - int len; - while ((len = in.read(buf)) != -1) - out.write(buf, 0, len); - return out.toByteArray(); - } - - // Instance methods. - // ------------------------------------------------------------------------ - - public int available() - { - return 0; - } - - public int read() throws IOException - { - if (read(one) == 1) - return one[0]; - return -1; - } - - public int read(byte[] buf, int off, int len) throws IOException - { - if (eof) - return -1; - int count = 0; - while (count < len) - { - int i; - while (Character.isWhitespace((char) (i = in.read()))) - ; - - int pos = BASE_64.indexOf((char) i); - if (pos >= 0) - { - switch (state) - { - case 0: - temp = pos << 2; - state = 1; - break; - case 1: - buf[count++] = (byte) (temp | (pos >>> 4)); - temp = (pos & 0x0F) << 4; - state = 2; - break; - case 2: - buf[count++] = (byte) (temp | (pos >>> 2)); - temp = (pos & 0x03) << 6; - state = 3; - break; - case 3: - buf[count++] = (byte) (temp | pos); - state = 0; - break; - } - } - else if (i == BASE_64_PAD) - { - switch (state) - { - case 0: - case 1: - throw new IOException("malformed Base-64 input"); - case 2: - while (Character.isWhitespace((char) (i = in.read()))) - ; - if (i != BASE_64_PAD) - throw new IOException("malformed Base-64 input"); - case 3: - while (Character.isWhitespace((char) (i = in.read()))) - ; - } - eof = true; - break; - } - else // First non-Base-64 character, consider it end-of-stream. - { - if (state != 0) - throw new IOException("malformed Base-64 input"); - eof = true; - break; - } - } - return count; - } - - public boolean markSupported() - { - return false; - } - - public void mark(int markLimit) { } - - public void reset() throws IOException - { - throw new IOException("reset not supported"); - } - - public long skip(long n) throws IOException - { - long skipped; - for (skipped = 0; skipped < n; skipped++) - if (read() == -1) - break; - return skipped; - } -} From bugzilla-daemon at icedtea.classpath.org Mon Dec 10 05:16:37 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Dec 2007 13:16:37 +0000 Subject: [Bug 87] New: Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 Summary: Icedtea 1.7.0 and SwingWorker problem Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: mjrz.net at gmail.com I am trying to run the basic swing worker example from java trail. What is happening is the doInBackground method completes but the done() method never gets called. My system is running: Fedora 8 x86_64 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 10 06:19:32 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Dec 2007 14:19:32 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #1 from jsumali at redhat.com 2007-12-10 14:19 ------- Do you have a specific link to the swing worker example? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Mon Dec 10 06:48:03 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Dec 2007 14:48:03 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 mjrz.net at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjrz.net at gmail.com ------- Comment #2 from mjrz.net at gmail.com 2007-12-10 14:48 ------- (In reply to comment #1) > Do you have a specific link to the swing worker example? > http://java.sun.com/docs/books/tutorial/uiswing/examples/components/ProgressBarDemoProject/src/components/ProgressBarDemo.java -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Mon Dec 10 07:43:24 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 10:43:24 -0500 Subject: IcedTea b24 update Message-ID: <475D5E9C.2000500@redhat.com> Hi, I will be updating IcedTea to b24 sometime today. Since the OpenJDK is now attainable through mercurial, you will need Mercurial 0.9.5 installed, as well as the forest extension (http://mail.openjdk.java.net/pipermail/build-dev/2007-October/000342.html). Cheers, Lillian From langel at redhat.com Mon Dec 10 08:25:00 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 16:25:00 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset 3697dfe80c91 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=3697dfe80c91 description: 2007-12-10 Lillian Angel * INSTALL: Updated requirements. * Makefile.am: Update to b24- use hg to clone/update openjdk. * Makefile.in: Regenerate. * acinclude.m4: Removed unneeded option (--with-openjdk-src-zip). * configure.ac: Likewise. * configure: Regenerate. * generated/*: Regenerated all files for b24. * patches/icedtea-core-build.patch: Updated for b24. * patches/icedtea-ecj.patch: Likewise. diffstat: 148 files changed, 3572 insertions(+), 3297 deletions(-) ChangeLog | 12 INSTALL | 1 Makefile.am | 140 +-- Makefile.in | 130 +-- acinclude.m4 | 17 configure | 171 ++-- configure.ac | 2 generated/com/sun/corba/se/impl/logging/ActivationSystemException.java | 2 generated/com/sun/corba/se/impl/logging/IORSystemException.java | 2 generated/com/sun/corba/se/impl/logging/InterceptorsSystemException.java | 2 generated/com/sun/corba/se/impl/logging/LogStrings.properties | 30 generated/com/sun/corba/se/impl/logging/NamingSystemException.java | 2 generated/com/sun/corba/se/impl/logging/OMGSystemException.java | 2 generated/com/sun/corba/se/impl/logging/ORBUtilSystemException.java | 2 generated/com/sun/corba/se/impl/logging/POASystemException.java | 2 generated/com/sun/corba/se/impl/logging/UtilSystemException.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_de.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_es.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_fr.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_it.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_ja.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_ko.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_sv.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_zh_CN.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_zh_HK.java | 2 generated/com/sun/java/swing/plaf/gtk/resources/gtk_zh_TW.java | 2 generated/com/sun/java/swing/plaf/motif/resources/motif.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_de.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_es.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_fr.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_it.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_ja.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_ko.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_sv.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_zh_CN.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_zh_HK.java | 1 generated/com/sun/java/swing/plaf/motif/resources/motif_zh_TW.java | 1 generated/com/sun/java/swing/plaf/windows/resources/windows.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_de.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_es.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_fr.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_it.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_ja.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_ko.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_sv.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_zh_CN.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_zh_HK.java | 3 generated/com/sun/java/swing/plaf/windows/resources/windows_zh_TW.java | 3 generated/com/sun/swing/internal/plaf/basic/resources/basic.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_de.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_es.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_fr.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_it.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_ja.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_ko.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_sv.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_zh_HK.java | 5 generated/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.java | 5 generated/com/sun/swing/internal/plaf/metal/resources/metal.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_de.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_es.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_fr.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_it.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_ja.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_ko.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_sv.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_zh_CN.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_zh_HK.java | 1 generated/com/sun/swing/internal/plaf/metal/resources/metal_zh_TW.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_de.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_es.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_fr.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_it.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_ja.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_ko.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_sv.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_zh_CN.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_zh_HK.java | 1 generated/com/sun/swing/internal/plaf/synth/resources/synth_zh_TW.java | 1 generated/java/nio/BufferOverflowException.java | 6 generated/java/nio/BufferUnderflowException.java | 6 generated/java/nio/ByteBuffer.java | 255 +++--- generated/java/nio/ByteBufferAsCharBufferB.java | 170 ++-- generated/java/nio/ByteBufferAsCharBufferL.java | 170 ++-- generated/java/nio/ByteBufferAsCharBufferRB.java | 124 +-- generated/java/nio/ByteBufferAsCharBufferRL.java | 124 +-- generated/java/nio/ByteBufferAsDoubleBufferB.java | 120 +- generated/java/nio/ByteBufferAsDoubleBufferL.java | 120 +- generated/java/nio/ByteBufferAsDoubleBufferRB.java | 74 - generated/java/nio/ByteBufferAsDoubleBufferRL.java | 74 - generated/java/nio/ByteBufferAsFloatBufferB.java | 120 +- generated/java/nio/ByteBufferAsFloatBufferL.java | 120 +- generated/java/nio/ByteBufferAsFloatBufferRB.java | 74 - generated/java/nio/ByteBufferAsFloatBufferRL.java | 74 - generated/java/nio/ByteBufferAsIntBufferB.java | 120 +- generated/java/nio/ByteBufferAsIntBufferL.java | 120 +- generated/java/nio/ByteBufferAsIntBufferRB.java | 74 - generated/java/nio/ByteBufferAsIntBufferRL.java | 74 - generated/java/nio/ByteBufferAsLongBufferB.java | 120 +- generated/java/nio/ByteBufferAsLongBufferL.java | 120 +- generated/java/nio/ByteBufferAsLongBufferRB.java | 74 - generated/java/nio/ByteBufferAsLongBufferRL.java | 74 - generated/java/nio/ByteBufferAsShortBufferB.java | 120 +- generated/java/nio/ByteBufferAsShortBufferL.java | 120 +- generated/java/nio/ByteBufferAsShortBufferRB.java | 74 - generated/java/nio/ByteBufferAsShortBufferRL.java | 74 - generated/java/nio/CharBuffer.java | 293 +++---- generated/java/nio/DoubleBuffer.java | 411 +++++----- generated/java/nio/FloatBuffer.java | 411 +++++----- generated/java/nio/IntBuffer.java | 411 +++++----- generated/java/nio/InvalidMarkException.java | 6 generated/java/nio/LongBuffer.java | 411 +++++----- generated/java/nio/ReadOnlyBufferException.java | 6 generated/java/nio/ShortBuffer.java | 411 +++++----- generated/java/nio/channels/AlreadyConnectedException.java | 6 generated/java/nio/channels/AsynchronousCloseException.java | 6 generated/java/nio/channels/CancelledKeyException.java | 6 generated/java/nio/channels/ClosedByInterruptException.java | 6 generated/java/nio/channels/ClosedChannelException.java | 6 generated/java/nio/channels/ClosedSelectorException.java | 6 generated/java/nio/channels/ConnectionPendingException.java | 6 generated/java/nio/channels/FileLockInterruptionException.java | 6 generated/java/nio/channels/IllegalBlockingModeException.java | 6 generated/java/nio/channels/IllegalSelectorException.java | 6 generated/java/nio/channels/NoConnectionPendingException.java | 6 generated/java/nio/channels/NonReadableChannelException.java | 6 generated/java/nio/channels/NonWritableChannelException.java | 6 generated/java/nio/channels/NotYetBoundException.java | 6 generated/java/nio/channels/NotYetConnectedException.java | 6 generated/java/nio/channels/OverlappingFileLockException.java | 6 generated/java/nio/channels/UnresolvedAddressException.java | 6 generated/java/nio/channels/UnsupportedAddressTypeException.java | 6 generated/java/nio/charset/CharacterCodingException.java | 6 generated/java/nio/charset/CharsetDecoder.java | 329 +++----- generated/java/nio/charset/CharsetEncoder.java | 409 ++++----- generated/java/nio/charset/IllegalCharsetNameException.java | 6 generated/java/nio/charset/UnsupportedCharsetException.java | 6 generated/sun/management/resources/agent.java | 6 generated/sun/misc/Version.java | 84 +- generated/sun/nio/ch/AlreadyBoundException.java | 6 generated/sun/tools/jconsole/Version.java | 6 generated/sun/util/CoreResourceBundleControl.java | 32 generated/sun/util/LocaleDataMetaInfo.java | 48 - patches/icedtea-core-build.patch | 2 patches/icedtea-ecj.patch | 4 diffs (truncated from 12825 to 500 lines): diff -r 312fb1b75e61 -r 3697dfe80c91 ChangeLog --- a/ChangeLog Fri Dec 07 15:44:09 2007 -0500 +++ b/ChangeLog Mon Dec 10 11:23:44 2007 -0500 @@ -1,3 +1,15 @@ 2007-12-07 Lillian Angel + + * INSTALL: Updated requirements. + * Makefile.am: Update to b24- use hg to clone/update openjdk. + * Makefile.in: Regenerate. + * acinclude.m4: Removed unneeded option (--with-openjdk-src-zip). + * configure.ac: Likewise. + * configure: Regenerate. + * generated/*: Regenerated all files for b24. + * patches/icedtea-core-build.patch: Updated for b24. + * patches/icedtea-ecj.patch: Likewise. + 2007-12-07 Lillian Angel * Makefile.am: Removed libjsoundalso.so, libjsound.so,libt2k.so. diff -r 312fb1b75e61 -r 3697dfe80c91 INSTALL --- a/INSTALL Fri Dec 07 15:44:09 2007 -0500 +++ b/INSTALL Mon Dec 10 11:23:44 2007 -0500 @@ -30,6 +30,7 @@ libpng-devel libpng-devel libjpeg-devel zlib-devel +mercurial 0.9.5 + forest extension See ./configure --help if you need to override defaults. diff -r 312fb1b75e61 -r 3697dfe80c91 Makefile.am --- a/Makefile.am Fri Dec 07 15:44:09 2007 -0500 +++ b/Makefile.am Mon Dec 10 11:23:44 2007 -0500 @@ -1,6 +1,4 @@ OPENJDK_VERSION = b23 -OPENJDK_VERSION = b23 -OPENJDK_DATE = 30_oct_2007 -OPENJDK_MD5SUM = 7eed137c0321e0b5b75ff2d646ce0d0d +OPENJDK_VERSION = b24 # Top-Level Targets # ================= @@ -20,8 +18,8 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-download clean-extract clean-patch \ - clean-extract-ecj clean-patch-ecj clean-bootstrap-directory \ + env env-ecj snapshot clean-clone clean-clone clean-patch \ + clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ clean-icedtea icedtea-against-icedtea clean-icedtea-ecj clean-plugs \ @@ -33,7 +31,7 @@ EXTRA_DIST = rt generated $(ICEDTEA_PATC # OpenJDK build environment. LINUX_DIR = linux-$(BUILD_ARCH_DIR) -BUILD_OUTPUT_DIR = openjdk/control/build/$(LINUX_DIR) +BUILD_OUTPUT_DIR = openjdk/build/$(LINUX_DIR) ICEDTEA_BUILD_DIR = \ $(abs_top_srcdir)/$(BUILD_OUTPUT_DIR) ICEDTEA_RT = \ @@ -68,9 +66,9 @@ env: # OpenJDK ecj build environment. ICEDTEA_BUILD_DIR_ECJ = \ - $(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/ + $(abs_top_srcdir)/openjdk-ecj/build/$(LINUX_DIR)/ ICEDTEA_CLS_DIR_ECJ = \ - $(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/classes + $(abs_top_srcdir)/openjdk-ecj/build/$(LINUX_DIR)/classes ICEDTEA_ENV_ECJ = \ "ALT_JDK_IMPORT_PATH=$(abs_top_srcdir)/bootstrap/jdk1.6.0/" \ "ANT_HOME=$(SYSTEM_ANT_DIR)" \ @@ -109,48 +107,30 @@ snapshot: dist # ================================== # Download OpenJDK sources. -OPENJDK_URL = http://download.java.net/openjdk/jdk7/promoted/$(OPENJDK_VERSION)/ -OPENJDK_SRC_ZIP_BASE = openjdk-7-ea-src-$(OPENJDK_VERSION)-$(OPENJDK_DATE).zip - -if USE_ALT_OPENJDK_SRC_ZIP - OPENJDK_SRC_ZIP = $(ALT_OPENJDK_SRC_ZIP) -else - OPENJDK_SRC_ZIP = $(OPENJDK_SRC_ZIP_BASE) -endif - -stamps/download.stamp: - if ! echo "$(OPENJDK_MD5SUM) $(OPENJDK_SRC_ZIP)" \ - | $(MD5SUM) --check ; \ - then \ - if [ $(OPENJDK_SRC_ZIP) ] ; \ - then \ - mv $(OPENJDK_SRC_ZIP) $(OPENJDK_SRC_ZIP).old ; \ - fi ; \ - $(WGET) $(OPENJDK_URL)$(OPENJDK_SRC_ZIP_BASE) -O $(OPENJDK_SRC_ZIP); \ - fi - mkdir -p stamps - touch stamps/download.stamp - -clean-download: - rm -f stamps/download.stamp - rm -f $(OPENJDK_SRC_ZIP) - -# Extract OpenJDK sources. -stamps/extract.stamp: stamps/download.stamp +OPENJDK_URL = http://hg.openjdk.java.net/jdk7/jdk7 + +stamps/clone.stamp: if ! test -d openjdk ; \ then \ - $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ - chmod -R ug+w openjdk ; \ - fi - mkdir -p stamps - touch stamps/extract.stamp - -clean-extract: - rm -f stamps/extract.stamp + hg fclone $(OPENJDK_URL) openjdk; \ + fi + touch stamps/clone.stamp + +clean-clone: + rm -f stamps/clone.stamp rm -rf openjdk +update: + if test -d openjdk ; \ + then \ + cd openjdk; \ + hg fpull; \ + hg fupdate; \ + cd ..; \ + fi + # Link ports sources into tree -stamps/ports.stamp: stamps/extract.stamp +stamps/ports.stamp: stamps/clone.stamp for target in ports/hotspot/build/*/platform_* \ ports/hotspot/build/*/makefiles/* \ ports/hotspot/src/*/* \ @@ -208,7 +188,7 @@ ICEDTEA_PATCHES = \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) -stamps/patch.stamp: stamps/extract.stamp +stamps/patch.stamp: stamps/clone.stamp update for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -237,24 +217,20 @@ clean-patch: # ====================================== # Extract OpenJDK sources for ecj. -stamps/extract-ecj.stamp: stamps/download.stamp +stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; \ then \ - mkdir tmp-ecj ; \ - $(UNZIP) -q -d tmp-ecj $(OPENJDK_SRC_ZIP) ; \ - mv tmp-ecj/openjdk openjdk-ecj ; \ - rmdir tmp-ecj ; \ - chmod -R ug+w openjdk-ecj ; \ - fi - mkdir -p stamps - touch stamps/extract-ecj.stamp - -clean-extract-ecj: - rm -f stamps/extract-ecj.stamp + hg fclone $(OPENJDK_URL) openjdk-ecj ; \ + fi + mkdir -p stamps + touch stamps/clone-ecj.stamp + +clean-clone-ecj: + rm -f stamps/clone-ecj.stamp rm -rf openjdk-ecj # Link ports sources into tree -stamps/ports-ecj.stamp: stamps/extract.stamp +stamps/ports-ecj.stamp: stamps/clone-ecj.stamp for target in ports/hotspot/build/*/platform_* \ ports/hotspot/build/*/makefiles/* \ ports/hotspot/src/*/* \ @@ -268,7 +244,7 @@ stamps/ports-ecj.stamp: stamps/extract.s # Patch OpenJDK for plug replacements and ecj. ICEDTEA_ECJ_PATCH = patches/icedtea-ecj.patch -stamps/patch-ecj.stamp: stamps/extract-ecj.stamp +stamps/patch-ecj.stamp: stamps/clone-ecj.stamp for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -311,7 +287,7 @@ clean-patch-ecj: # bootstrap/icedtea. stamps/bootstrap-directory.stamp: stamps/icedtea-against-ecj.stamp rm -rf bootstrap/icedtea - ln -s $(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/j2sdk-image/ bootstrap/icedtea + ln -s $(abs_top_srcdir)/openjdk-ecj/build/$(LINUX_DIR)/j2sdk-image/ bootstrap/icedtea if ! test -d bootstrap/icedtea/include; then \ ln -sf $(ICEDTEA_BUILD_DIR_ECJ)/include bootstrap/icedtea/include; \ fi @@ -416,23 +392,23 @@ endif # If you change anything here in the icedtea target, please make sure # you change it in the icedtea-debug target as well. -icedtea: stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \ +icedtea: update stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ - -C openjdk/control/make + -C openjdk/ cp -af gcjwebplugin.so \ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR) cp -af gcjwebplugin.so \ $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) -icedtea-debug: stamps/bootstrap-directory-symlink.stamp \ - stamps/tools.stamp stamps/plugs.stamp stamps/extract.stamp \ +icedtea-debug: update stamps/bootstrap-directory-symlink.stamp \ + stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ - -C openjdk/control/make \ + -C openjdk/ \ debug_build cp -af gcjwebplugin.so \ $(BUILD_OUTPUT_DIR)-debug/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR) @@ -441,10 +417,10 @@ icedtea-debug: stamps/bootstrap-directo @echo "IcedTea (debug build) is served:" \ $(BUILD_OUTPUT_DIR)-debug -clean-icedtea: stamps/extract.stamp +clean-icedtea: stamps/clone.stamp $(MAKE) \ $(ICEDTEA_ENV) \ - -C openjdk/control/make clobber + -C openjdk/ clobber icedtea-against-icedtea: \ stamps/bootstrap-directory-symlink.stamp \ @@ -454,20 +430,20 @@ icedtea-against-icedtea: \ # =================== stamps/icedtea-ecj.stamp: stamps/tools.stamp stamps/plugs.stamp \ - stamps/extract-ecj.stamp stamps/ports-ecj.stamp stamps/patch-ecj.stamp + stamps/ports-ecj.stamp stamps/patch-ecj.stamp $(MAKE) \ $(ICEDTEA_ENV_ECJ) \ - -C openjdk-ecj/control/make + -C openjdk-ecj/ @echo "ecj-poured IcedTea is served:" \ - openjdk-ecj/control/build/$(LINUX_DIR) + openjdk-ecj/build/$(LINUX_DIR) mkdir -p stamps touch stamps/icedtea-ecj.stamp -clean-icedtea-ecj: stamps/extract-ecj.stamp +clean-icedtea-ecj: stamps/clone-ecj.stamp rm -f stamps/icedtea-ecj.stamp $(MAKE) \ $(ICEDTEA_ENV_ECJ) \ - -C openjdk-ecj/control/make clobber + -C openjdk-ecj/ clobber stamps/icedtea-against-ecj.stamp: \ stamps/bootstrap-directory-symlink-ecj.stamp \ @@ -527,7 +503,7 @@ ICEDTEA_COPY_DIRS = \ java/rmi \ javax/net/ssl -stamps/copy-source-files.stamp: stamps/extract.stamp stamps/patch.stamp +stamps/copy-source-files.stamp: stamps/patch.stamp for copy_dir in $(ICEDTEA_COPY_DIRS) ; \ do \ mkdir -p rt/$$copy_dir ; \ @@ -555,7 +531,7 @@ OPENJDK_SOURCEPATH_DIRS = \ $(SHARE):$(SOLARIS):$(LANGTOOLS):$(JAXP):$(CORBA):$(JAXWS) # tools.jar class files. -stamps/tools-copy-source-files.stamp: stamps/extract.stamp stamps/patch.stamp +stamps/tools-copy-source-files.stamp: stamps/patch.stamp for copy_dir in `cat tools-copy/tools-jdk-copy-files.txt` ; \ do \ mkdir -p tools/$$copy_dir ; \ @@ -587,7 +563,7 @@ stamps/tools-copy-source-files.stamp: st mkdir -p stamps touch stamps/tools-copy-source-files.stamp -tools-source-files.txt: stamps/extract.stamp \ +tools-source-files.txt: stamps/clone.stamp \ stamps/tools-copy-source-files.stamp find tools -name '*.java' | sort > $@ mkdir -p lib/tools @@ -619,7 +595,7 @@ bootstrap/jdk1.7.0/jre/lib/tools.jar: st fi # rt-closed.jar class files. -rt-source-files.txt: stamps/extract.stamp stamps/copy-source-files.stamp +rt-source-files.txt: stamps/clone.stamp stamps/copy-source-files.stamp find rt -name '*.java' | sort > $@ stamps/rt-class-files.stamp: rt-source-files.txt @@ -669,11 +645,11 @@ bootstrap-directory-symlink: stamps/boot copy-source-files: stamps/copy-source-files.stamp -download: stamps/download.stamp - -extract-ecj: stamps/extract-ecj.stamp - -extract: stamps/extract.stamp +clone: stamps/clone.stamp + +clone-ecj: stamps/clone-ecj.stamp + +clone: stamps/clone.stamp icedtea-against-ecj: stamps/icedtea-against-ecj.stamp diff -r 312fb1b75e61 -r 3697dfe80c91 Makefile.in --- a/Makefile.in Fri Dec 07 15:44:09 2007 -0500 +++ b/Makefile.in Mon Dec 10 11:23:44 2007 -0500 @@ -59,7 +59,6 @@ distuninstallcheck_listfiles = find . -t distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ -ALT_OPENJDK_SRC_ZIP = @ALT_OPENJDK_SRC_ZIP@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -110,6 +109,7 @@ LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MD5SUM = @MD5SUM@ +MERCURIAL = @MERCURIAL@ MKDIR_P = @MKDIR_P@ MOZILLA_CFLAGS = @MOZILLA_CFLAGS@ MOZILLA_LIBS = @MOZILLA_LIBS@ @@ -187,16 +187,14 @@ target_alias = @target_alias@ target_alias = @target_alias@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -OPENJDK_VERSION = b23 -OPENJDK_DATE = 30_oct_2007 -OPENJDK_MD5SUM = 7eed137c0321e0b5b75ff2d646ce0d0d +OPENJDK_VERSION = b24 EXTRA_DIST = rt generated $(ICEDTEA_PATCHES) $(ICEDTEA_ECJ_PATCH) \ gcjwebplugin.cc patches/icedtea-speed.patch tools-copy contrib ports # OpenJDK build environment. LINUX_DIR = linux-$(BUILD_ARCH_DIR) -BUILD_OUTPUT_DIR = openjdk/control/build/$(LINUX_DIR) +BUILD_OUTPUT_DIR = openjdk/build/$(LINUX_DIR) ICEDTEA_BUILD_DIR = \ $(abs_top_srcdir)/$(BUILD_OUTPUT_DIR) @@ -232,10 +230,10 @@ ICEDTEA_ENV = \ # OpenJDK ecj build environment. ICEDTEA_BUILD_DIR_ECJ = \ - $(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/ + $(abs_top_srcdir)/openjdk-ecj/build/$(LINUX_DIR)/ ICEDTEA_CLS_DIR_ECJ = \ - $(abs_top_srcdir)/openjdk-ecj/control/build/$(LINUX_DIR)/classes + $(abs_top_srcdir)/openjdk-ecj/build/$(LINUX_DIR)/classes ICEDTEA_ENV_ECJ = \ "ALT_JDK_IMPORT_PATH=$(abs_top_srcdir)/bootstrap/jdk1.6.0/" \ @@ -268,10 +266,7 @@ ICEDTEA_ENV_ECJ = \ # ================================== # Download OpenJDK sources. -OPENJDK_URL = http://download.java.net/openjdk/jdk7/promoted/$(OPENJDK_VERSION)/ -OPENJDK_SRC_ZIP_BASE = openjdk-7-ea-src-$(OPENJDK_VERSION)-$(OPENJDK_DATE).zip - at USE_ALT_OPENJDK_SRC_ZIP_FALSE@OPENJDK_SRC_ZIP = $(OPENJDK_SRC_ZIP_BASE) - at USE_ALT_OPENJDK_SRC_ZIP_TRUE@OPENJDK_SRC_ZIP = $(ALT_OPENJDK_SRC_ZIP) +OPENJDK_URL = http://hg.openjdk.java.net/jdk7/jdk7 @FAST_BUILD_FALSE at FAST_BUILD_PATCH = # Patch OpenJDK sources for plug replacements. @@ -647,8 +642,8 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-download clean-extract clean-patch \ - clean-extract-ecj clean-patch-ecj clean-bootstrap-directory \ + env env-ecj snapshot clean-clone clean-clone clean-patch \ + clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ clean-icedtea icedtea-against-icedtea clean-icedtea-ecj clean-plugs \ @@ -667,39 +662,28 @@ snapshot: dist snapshot: dist mv $(DIST_ARCHIVES) $(distdir)-`hg tip --template '{node}'`.tar.gz -stamps/download.stamp: - if ! echo "$(OPENJDK_MD5SUM) $(OPENJDK_SRC_ZIP)" \ - | $(MD5SUM) --check ; \ - then \ - if [ $(OPENJDK_SRC_ZIP) ] ; \ - then \ - mv $(OPENJDK_SRC_ZIP) $(OPENJDK_SRC_ZIP).old ; \ - fi ; \ - $(WGET) $(OPENJDK_URL)$(OPENJDK_SRC_ZIP_BASE) -O $(OPENJDK_SRC_ZIP); \ - fi - mkdir -p stamps - touch stamps/download.stamp - -clean-download: - rm -f stamps/download.stamp - rm -f $(OPENJDK_SRC_ZIP) - -# Extract OpenJDK sources. -stamps/extract.stamp: stamps/download.stamp +stamps/clone.stamp: if ! test -d openjdk ; \ then \ - $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ - chmod -R ug+w openjdk ; \ + hg fclone $(OPENJDK_URL) openjdk; \ fi - mkdir -p stamps - touch stamps/extract.stamp - -clean-extract: - rm -f stamps/extract.stamp + touch stamps/clone.stamp + +clean-clone: + rm -f stamps/clone.stamp rm -rf openjdk +update: + if test -d openjdk ; \ + then \ + cd openjdk; \ + hg fpull; \ + hg fupdate; \ + cd ..; \ + fi + # Link ports sources into tree -stamps/ports.stamp: stamps/extract.stamp +stamps/ports.stamp: stamps/clone.stamp for target in ports/hotspot/build/*/platform_* \ ports/hotspot/build/*/makefiles/* \ ports/hotspot/src/*/* \ @@ -710,7 +694,7 @@ stamps/ports.stamp: stamps/extract.stamp mkdir -p stamps touch stamps/ports.stamp -stamps/patch.stamp: stamps/extract.stamp +stamps/patch.stamp: stamps/clone.stamp update for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -739,24 +723,20 @@ clean-patch: # ====================================== # Extract OpenJDK sources for ecj. -stamps/extract-ecj.stamp: stamps/download.stamp +stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; \ then \ - mkdir tmp-ecj ; \ - $(UNZIP) -q -d tmp-ecj $(OPENJDK_SRC_ZIP) ; \ - mv tmp-ecj/openjdk openjdk-ecj ; \ - rmdir tmp-ecj ; \ - chmod -R ug+w openjdk-ecj ; \ + hg fclone $(OPENJDK_URL) openjdk-ecj ; \ fi mkdir -p stamps - touch stamps/extract-ecj.stamp - -clean-extract-ecj: - rm -f stamps/extract-ecj.stamp + touch stamps/clone-ecj.stamp + +clean-clone-ecj: + rm -f stamps/clone-ecj.stamp rm -rf openjdk-ecj # Link ports sources into tree -stamps/ports-ecj.stamp: stamps/extract.stamp +stamps/ports-ecj.stamp: stamps/clone-ecj.stamp for target in ports/hotspot/build/*/platform_* \ ports/hotspot/build/*/makefiles/* \ ports/hotspot/src/*/* \ @@ -767,7 +747,7 @@ stamps/ports-ecj.stamp: stamps/extract.s mkdir -p stamps touch stamps/ports-ecj.stamp -stamps/patch-ecj.stamp: stamps/extract-ecj.stamp +stamps/patch-ecj.stamp: stamps/clone-ecj.stamp From bugzilla-daemon at icedtea.classpath.org Mon Dec 10 08:34:54 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Mon, 10 Dec 2007 16:34:54 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #3 from jsumali at redhat.com 2007-12-10 16:34 ------- (In reply to comment #0) > I am trying to run the basic swing worker example from java trail. What is > happening is the doInBackground method completes but the done() method never > gets called. Tested on Fedora 8 x86_64 and it seems to be working properly. When you say the done() method never gets called, does this include not seeing the "Done!" in the textbox? Also, what does readlink -f `which javac` , readlink -f `which java` give you? > My system is running: > > Fedora 8 x86_64 > -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From fitzsim at redhat.com Mon Dec 10 08:43:34 2007 From: fitzsim at redhat.com (Thomas Fitzsimmons) Date: Mon, 10 Dec 2007 11:43:34 -0500 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel References: Message-ID: <475D6CB6.3070204@redhat.com> Hi, Lillian Angel wrote: > changeset 3697dfe80c91 in /hg/icedtea > details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=3697dfe80c91 > description: > 2007-12-10 Lillian Angel > > * INSTALL: Updated requirements. > * Makefile.am: Update to b24- use hg to clone/update openjdk. > * Makefile.in: Regenerate. > * acinclude.m4: Removed unneeded option (--with-openjdk-src-zip). Packagers at least will still want --with-openjdk-src-zip since build systems are typically denied network access. Tom From langel at redhat.com Mon Dec 10 08:47:55 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 16:47:55 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset 245e85ca98be in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=245e85ca98be description: 2007-12-10 Lillian Angel * Makefile.am: Fixed update target to create stamp. * Makefile.in: Regenerate. diffstat: 2 files changed, 22 insertions(+), 10 deletions(-) Makefile.am | 16 +++++++++++----- Makefile.in | 16 +++++++++++----- diffs (133 lines): diff -r 3697dfe80c91 -r 245e85ca98be Makefile.am --- a/Makefile.am Mon Dec 10 11:23:44 2007 -0500 +++ b/Makefile.am Mon Dec 10 11:46:42 2007 -0500 @@ -18,7 +18,7 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-clone clean-clone clean-patch \ + env env-ecj snapshot clean-clone clean-update clean-patch \ clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ @@ -120,7 +120,7 @@ clean-clone: rm -f stamps/clone.stamp rm -rf openjdk -update: +stamps/update.stamp: if test -d openjdk ; \ then \ cd openjdk; \ @@ -128,6 +128,10 @@ update: hg fupdate; \ cd ..; \ fi + touch stamps/update.stamp + +clean-update: + rm -f stamps/update.stamp # Link ports sources into tree stamps/ports.stamp: stamps/clone.stamp @@ -188,7 +192,7 @@ ICEDTEA_PATCHES = \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) -stamps/patch.stamp: stamps/clone.stamp update +stamps/patch.stamp: stamps/clone.stamp stamps/update.stamp for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -392,7 +396,7 @@ endif # If you change anything here in the icedtea target, please make sure # you change it in the icedtea-debug target as well. -icedtea: update stamps/tools.stamp stamps/plugs.stamp \ +icedtea: stamps/update.stamp stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ @@ -403,7 +407,7 @@ icedtea: update stamps/tools.stamp stamp $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) -icedtea-debug: update stamps/bootstrap-directory-symlink.stamp \ +icedtea-debug: stamps/update.stamp stamps/bootstrap-directory-symlink.stamp \ stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ @@ -668,3 +672,5 @@ tools-copy-source-files: stamps/tools-co tools-copy-source-files: stamps/tools-copy-source-files.stamp tools: stamps/tools.stamp + +update: stamps/update.stamp diff -r 3697dfe80c91 -r 245e85ca98be Makefile.in --- a/Makefile.in Mon Dec 10 11:23:44 2007 -0500 +++ b/Makefile.in Mon Dec 10 11:46:42 2007 -0500 @@ -642,7 +642,7 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-clone clean-clone clean-patch \ + env env-ecj snapshot clean-clone clean-update clean-patch \ clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ @@ -673,7 +673,7 @@ clean-clone: rm -f stamps/clone.stamp rm -rf openjdk -update: +stamps/update.stamp: if test -d openjdk ; \ then \ cd openjdk; \ @@ -681,6 +681,10 @@ update: hg fupdate; \ cd ..; \ fi + touch stamps/update.stamp + +clean-update: + rm -f stamps/update.stamp # Link ports sources into tree stamps/ports.stamp: stamps/clone.stamp @@ -694,7 +698,7 @@ stamps/ports.stamp: stamps/clone.stamp mkdir -p stamps touch stamps/ports.stamp -stamps/patch.stamp: stamps/clone.stamp update +stamps/patch.stamp: stamps/clone.stamp stamps/update.stamp for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -877,7 +881,7 @@ clean-bootstrap-directory-symlink-ecj: # If you change anything here in the icedtea target, please make sure # you change it in the icedtea-debug target as well. -icedtea: update stamps/tools.stamp stamps/plugs.stamp \ +icedtea: stamps/update.stamp stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ @@ -888,7 +892,7 @@ icedtea: update stamps/tools.stamp stamp $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) -icedtea-debug: update stamps/bootstrap-directory-symlink.stamp \ +icedtea-debug: stamps/update.stamp stamps/bootstrap-directory-symlink.stamp \ stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ @@ -1125,6 +1129,8 @@ tools-copy-source-files: stamps/tools-co tools-copy-source-files: stamps/tools-copy-source-files.stamp tools: stamps/tools.stamp + +update: stamps/update.stamp # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: From langel at redhat.com Mon Dec 10 08:52:40 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 16:52:40 +0000 Subject: changeset in /hg/icedtea: commit Changelog Message-ID: changeset f3028fdb5af3 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=f3028fdb5af3 description: commit Changelog diffstat: 1 file changed, 5 insertions(+) ChangeLog | 5 +++++ diffs (12 lines): diff -r 245e85ca98be -r f3028fdb5af3 ChangeLog --- a/ChangeLog Mon Dec 10 11:46:42 2007 -0500 +++ b/ChangeLog Mon Dec 10 11:51:28 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-10 Lillian Angel + + * Makefile.am: Fixed update target to create stamp. + * Makefile.in: Regenerate. + 2007-12-10 Lillian Angel * INSTALL: Updated requirements. From langel at redhat.com Mon Dec 10 09:41:59 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 17:41:59 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset 0f5dd02f60e6 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0f5dd02f60e6 description: 2007-12-10 Lillian Angel * Makefile.am: Added --with-openjdk-src-zip support back in. * Makefile.in: Regenerate. * acinclude.m4: Added --with-openjdk-src-zip support back in. * configure: Regenerate. * configure.ac: Added --with-openjdk-src-zip support back in. diffstat: 6 files changed, 139 insertions(+), 167 deletions(-) ChangeLog | 8 ++ Makefile.am | 57 ++++++++++--------- Makefile.in | 51 ++++++++--------- acinclude.m4 | 17 +++++ configure | 171 +++++++++++++++++++--------------------------------------- configure.ac | 2 diffs (truncated from 549 to 500 lines): diff -r f3028fdb5af3 -r 0f5dd02f60e6 ChangeLog --- a/ChangeLog Mon Dec 10 11:51:28 2007 -0500 +++ b/ChangeLog Mon Dec 10 12:40:46 2007 -0500 @@ -1,3 +1,11 @@ 2007-12-10 Lillian Angel + + * Makefile.am: Added --with-openjdk-src-zip support back in. + * Makefile.in: Regenerate. + * acinclude.m4: Added --with-openjdk-src-zip support back in. + * configure: Regenerate. + * configure.ac: Added --with-openjdk-src-zip support back in. + 2007-12-10 Lillian Angel * Makefile.am: Fixed update target to create stamp. diff -r f3028fdb5af3 -r 0f5dd02f60e6 Makefile.am --- a/Makefile.am Mon Dec 10 11:51:28 2007 -0500 +++ b/Makefile.am Mon Dec 10 12:40:46 2007 -0500 @@ -18,7 +18,7 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-clone clean-update clean-patch \ + env env-ecj snapshot clean-clone clean-patch \ clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ @@ -109,29 +109,27 @@ snapshot: dist # Download OpenJDK sources. OPENJDK_URL = http://hg.openjdk.java.net/jdk7/jdk7 +if USE_ALT_OPENJDK_SRC_ZIP + OPENJDK_SRC_ZIP = $(ALT_OPENJDK_SRC_ZIP) +else + OPENJDK_SRC_ZIP = +endif + stamps/clone.stamp: - if ! test -d openjdk ; \ - then \ - hg fclone $(OPENJDK_URL) openjdk; \ - fi + if ! test -d openjdk ; then \ + if [ $(OPENJDK_SRC_ZIP) ] ; then \ + $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ + else \ + hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk; \ + fi ; \ + fi + chmod -R ug+w openjdk + mkdir -p stamps touch stamps/clone.stamp clean-clone: rm -f stamps/clone.stamp rm -rf openjdk - -stamps/update.stamp: - if test -d openjdk ; \ - then \ - cd openjdk; \ - hg fpull; \ - hg fupdate; \ - cd ..; \ - fi - touch stamps/update.stamp - -clean-update: - rm -f stamps/update.stamp # Link ports sources into tree stamps/ports.stamp: stamps/clone.stamp @@ -192,7 +190,7 @@ ICEDTEA_PATCHES = \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) -stamps/patch.stamp: stamps/clone.stamp stamps/update.stamp +stamps/patch.stamp: stamps/clone.stamp for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -222,10 +220,17 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp - if ! test -d openjdk-ecj ; \ - then \ - hg fclone $(OPENJDK_URL) openjdk-ecj ; \ - fi + if ! test -d openjdk ; then \ + if [ $(OPENJDK_SRC_ZIP) ] ; \ + then \ + $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ + mv tmp-ecj/openjdk openjdk-ecj ; \ + rmdir tmp-ecj; \ + else \ + hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk-ecj; \ + fi ; \ + fi + chmod -R ug+w openjdk-ecj mkdir -p stamps touch stamps/clone-ecj.stamp @@ -396,7 +401,7 @@ endif # If you change anything here in the icedtea target, please make sure # you change it in the icedtea-debug target as well. -icedtea: stamps/update.stamp stamps/tools.stamp stamps/plugs.stamp \ +icedtea: stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ @@ -407,7 +412,7 @@ icedtea: stamps/update.stamp stamps/tool $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) -icedtea-debug: stamps/update.stamp stamps/bootstrap-directory-symlink.stamp \ +icedtea-debug: stamps/bootstrap-directory-symlink.stamp \ stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ @@ -672,5 +677,3 @@ tools-copy-source-files: stamps/tools-co tools-copy-source-files: stamps/tools-copy-source-files.stamp tools: stamps/tools.stamp - -update: stamps/update.stamp diff -r f3028fdb5af3 -r 0f5dd02f60e6 Makefile.in --- a/Makefile.in Mon Dec 10 11:51:28 2007 -0500 +++ b/Makefile.in Mon Dec 10 12:40:46 2007 -0500 @@ -59,6 +59,7 @@ distuninstallcheck_listfiles = find . -t distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ +ALT_OPENJDK_SRC_ZIP = @ALT_OPENJDK_SRC_ZIP@ AMTAR = @AMTAR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -109,7 +110,6 @@ LTLIBOBJS = @LTLIBOBJS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MD5SUM = @MD5SUM@ -MERCURIAL = @MERCURIAL@ MKDIR_P = @MKDIR_P@ MOZILLA_CFLAGS = @MOZILLA_CFLAGS@ MOZILLA_LIBS = @MOZILLA_LIBS@ @@ -267,6 +267,8 @@ ICEDTEA_ENV_ECJ = \ # Download OpenJDK sources. OPENJDK_URL = http://hg.openjdk.java.net/jdk7/jdk7 + at USE_ALT_OPENJDK_SRC_ZIP_FALSE@OPENJDK_SRC_ZIP = + at USE_ALT_OPENJDK_SRC_ZIP_TRUE@OPENJDK_SRC_ZIP = $(ALT_OPENJDK_SRC_ZIP) @FAST_BUILD_FALSE at FAST_BUILD_PATCH = # Patch OpenJDK sources for plug replacements. @@ -642,7 +644,7 @@ install: install: .PHONY: \ - env env-ecj snapshot clean-clone clean-update clean-patch \ + env env-ecj snapshot clean-clone clean-patch \ clean-clone-ecj clean-patch-ecj clean-bootstrap-directory \ clean-bootstrap-directory-symlink clean-bootstrap-directory-ecj \ clean-bootstrap-directory-symlink-ecj icedtea icedtea-debug \ @@ -663,28 +665,20 @@ snapshot: dist mv $(DIST_ARCHIVES) $(distdir)-`hg tip --template '{node}'`.tar.gz stamps/clone.stamp: - if ! test -d openjdk ; \ - then \ - hg fclone $(OPENJDK_URL) openjdk; \ + if ! test -d openjdk ; then \ + if [ $(OPENJDK_SRC_ZIP) ] ; then \ + $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ + else \ + hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk; \ + fi ; \ fi + chmod -R ug+w openjdk + mkdir -p stamps touch stamps/clone.stamp clean-clone: rm -f stamps/clone.stamp rm -rf openjdk - -stamps/update.stamp: - if test -d openjdk ; \ - then \ - cd openjdk; \ - hg fpull; \ - hg fupdate; \ - cd ..; \ - fi - touch stamps/update.stamp - -clean-update: - rm -f stamps/update.stamp # Link ports sources into tree stamps/ports.stamp: stamps/clone.stamp @@ -698,7 +692,7 @@ stamps/ports.stamp: stamps/clone.stamp mkdir -p stamps touch stamps/ports.stamp -stamps/patch.stamp: stamps/clone.stamp stamps/update.stamp +stamps/patch.stamp: stamps/clone.stamp for p in $(ICEDTEA_PATCHES) ; \ do \ echo Checking $$p ; \ @@ -728,10 +722,17 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp - if ! test -d openjdk-ecj ; \ - then \ - hg fclone $(OPENJDK_URL) openjdk-ecj ; \ + if ! test -d openjdk ; then \ + if [ $(OPENJDK_SRC_ZIP) ] ; \ + then \ + $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ + mv tmp-ecj/openjdk openjdk-ecj ; \ + rmdir tmp-ecj; \ + else \ + hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk-ecj; \ + fi ; \ fi + chmod -R ug+w openjdk-ecj mkdir -p stamps touch stamps/clone-ecj.stamp @@ -881,7 +882,7 @@ clean-bootstrap-directory-symlink-ecj: # If you change anything here in the icedtea target, please make sure # you change it in the icedtea-debug target as well. -icedtea: stamps/update.stamp stamps/tools.stamp stamps/plugs.stamp \ +icedtea: stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ $(ICEDTEA_ENV) \ @@ -892,7 +893,7 @@ icedtea: stamps/update.stamp stamps/tool $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR) @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR) -icedtea-debug: stamps/update.stamp stamps/bootstrap-directory-symlink.stamp \ +icedtea-debug: stamps/bootstrap-directory-symlink.stamp \ stamps/tools.stamp stamps/plugs.stamp \ stamps/ports.stamp stamps/patch.stamp gcjwebplugin.so $(MAKE) \ @@ -1129,8 +1130,6 @@ tools-copy-source-files: stamps/tools-co tools-copy-source-files: stamps/tools-copy-source-files.stamp tools: stamps/tools.stamp - -update: stamps/update.stamp # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -r f3028fdb5af3 -r 0f5dd02f60e6 acinclude.m4 --- a/acinclude.m4 Mon Dec 10 11:51:28 2007 -0500 +++ b/acinclude.m4 Mon Dec 10 12:40:46 2007 -0500 @@ -345,6 +345,23 @@ AC_DEFUN([FIND_ENDORSED_JARS], AC_SUBST(ENDORSED_JARS) ]) +AC_DEFUN([WITH_OPENJDK_SRC_ZIP], +[ + AC_MSG_CHECKING(openjdk source zip) + AC_ARG_WITH([openjdk-src-zip], + [AS_HELP_STRING(--with-openjdk-src-zip,specify the location of the openjdk source zip)], + [ + ALT_OPENJDK_SRC_ZIP=${withval} + AM_CONDITIONAL(USE_ALT_OPENJDK_SRC_ZIP, test x = x) + ], + [ + ALT_OPENJDK_SRC_ZIP="not specified" + AM_CONDITIONAL(USE_ALT_OPENJDK_SRC_ZIP, test x != x) + ]) + AC_MSG_RESULT(${ALT_OPENJDK_SRC_ZIP}) + AC_SUBST(ALT_OPENJDK_SRC_ZIP) +]) + AC_DEFUN([FIND_XALAN2_JAR], [ AC_ARG_WITH([xalan2-jar], diff -r f3028fdb5af3 -r 0f5dd02f60e6 configure --- a/configure Mon Dec 10 11:51:28 2007 -0500 +++ b/configure Mon Dec 10 12:40:46 2007 -0500 @@ -710,7 +710,6 @@ UNZIP UNZIP WGET CHMOD -MERCURIAL GAWK SYSTEM_GCJ_DIR SYSTEM_ICEDTEA_DIR @@ -731,6 +730,9 @@ XALAN2_SERIALIZER_JAR XALAN2_SERIALIZER_JAR XERCES2_JAR FREETYPE2_INC_DIR +USE_ALT_OPENJDK_SRC_ZIP_TRUE +USE_ALT_OPENJDK_SRC_ZIP_FALSE +ALT_OPENJDK_SRC_ZIP OPENJDK_SRC_DIR GNU_CLASSLIB_FOUND_TRUE GNU_CLASSLIB_FOUND_FALSE @@ -1373,6 +1375,7 @@ Optional Packages: --with-xalan2-serializer-jar specify location of the xalan2-serializer jar --with-xerces2-jar specify location of the xerces2 jar + --with-openjdk-src-zip specify the location of the openjdk source zip --with-openjdk-src-dir specify the location of the openjdk sources Some influential environment variables: @@ -4696,115 +4699,6 @@ echo "$as_me: error: chmod program not f if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}hg", so it can be a program name with args. -set dummy ${ac_tool_prefix}hg; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_MERCURIAL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MERCURIAL in - [\\/]* | ?:[\\/]*) - ac_cv_path_MERCURIAL="$MERCURIAL" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_MERCURIAL="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -MERCURIAL=$ac_cv_path_MERCURIAL -if test -n "$MERCURIAL"; then - { echo "$as_me:$LINENO: result: $MERCURIAL" >&5 -echo "${ECHO_T}$MERCURIAL" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_MERCURIAL"; then - ac_pt_MERCURIAL=$MERCURIAL - # Extract the first word of "hg", so it can be a program name with args. -set dummy hg; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_MERCURIAL+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_MERCURIAL in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_MERCURIAL="$ac_pt_MERCURIAL" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_MERCURIAL="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_MERCURIAL=$ac_cv_path_ac_pt_MERCURIAL -if test -n "$ac_pt_MERCURIAL"; then - { echo "$as_me:$LINENO: result: $ac_pt_MERCURIAL" >&5 -echo "${ECHO_T}$ac_pt_MERCURIAL" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_MERCURIAL" = x; then - MERCURIAL="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - MERCURIAL=$ac_pt_MERCURIAL - fi -else - MERCURIAL="$ac_cv_path_MERCURIAL" -fi - - if test x"$MERCURIAL" = x ; then - { { echo "$as_me:$LINENO: error: hg program not found in PATH" >&5 -echo "$as_me: error: hg program not found in PATH" >&2;} - { (exit 1); exit 1; }; } - fi - - -if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gawk", so it can be a program name with args. set dummy ${ac_tool_prefix}gawk; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -6922,6 +6816,41 @@ echo "$as_me: error: \"Freetype headers echo "$as_me: error: \"Freetype headers not found - try installing freetype-devel\"" >&2;} { (exit 1); exit 1; }; } fi + + + + { echo "$as_me:$LINENO: checking openjdk source zip" >&5 +echo $ECHO_N "checking openjdk source zip... $ECHO_C" >&6; } + +# Check whether --with-openjdk-src-zip was given. +if test "${with_openjdk_src_zip+set}" = set; then + withval=$with_openjdk_src_zip; + ALT_OPENJDK_SRC_ZIP=${withval} + if test x = x; then + USE_ALT_OPENJDK_SRC_ZIP_TRUE= + USE_ALT_OPENJDK_SRC_ZIP_FALSE='#' +else + USE_ALT_OPENJDK_SRC_ZIP_TRUE='#' + USE_ALT_OPENJDK_SRC_ZIP_FALSE= +fi + + +else + + ALT_OPENJDK_SRC_ZIP="not specified" + if test x != x; then + USE_ALT_OPENJDK_SRC_ZIP_TRUE= + USE_ALT_OPENJDK_SRC_ZIP_FALSE='#' +else + USE_ALT_OPENJDK_SRC_ZIP_TRUE='#' + USE_ALT_OPENJDK_SRC_ZIP_FALSE= +fi + + +fi + + { echo "$as_me:$LINENO: result: ${ALT_OPENJDK_SRC_ZIP}" >&5 +echo "${ECHO_T}${ALT_OPENJDK_SRC_ZIP}" >&6; } @@ -10059,6 +9988,20 @@ if test -z "${WITH_ICEDTEA_TRUE}" && tes { { echo "$as_me:$LINENO: error: conditional \"WITH_ICEDTEA\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"WITH_ICEDTEA\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_ALT_OPENJDK_SRC_ZIP_TRUE}" && test -z "${USE_ALT_OPENJDK_SRC_ZIP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_ALT_OPENJDK_SRC_ZIP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_ALT_OPENJDK_SRC_ZIP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_ALT_OPENJDK_SRC_ZIP_TRUE}" && test -z "${USE_ALT_OPENJDK_SRC_ZIP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_ALT_OPENJDK_SRC_ZIP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_ALT_OPENJDK_SRC_ZIP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi @@ -10695,8 +10638,8 @@ UNZIP!$UNZIP$ac_delim UNZIP!$UNZIP$ac_delim WGET!$WGET$ac_delim CHMOD!$CHMOD$ac_delim -MERCURIAL!$MERCURIAL$ac_delim GAWK!$GAWK$ac_delim +SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim From langel at redhat.com Mon Dec 10 09:45:21 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 17:45:21 +0000 Subject: changeset in /hg/icedtea: Added to changelog Message-ID: changeset ecff567e7ef1 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ecff567e7ef1 description: Added to changelog diffstat: 1 file changed, 2 insertions(+), 1 deletion(-) ChangeLog | 3 ++- diffs (12 lines): diff -r 0f5dd02f60e6 -r ecff567e7ef1 ChangeLog --- a/ChangeLog Mon Dec 10 12:40:46 2007 -0500 +++ b/ChangeLog Mon Dec 10 12:44:08 2007 -0500 @@ -1,6 +1,7 @@ 2007-12-10 Lillian Angel - * Makefile.am: Added --with-openjdk-src-zip support back in. + * Makefile.am: Added --with-openjdk-src-zip support back in. Also, + openjdk is cloned based on release tag. * Makefile.in: Regenerate. * acinclude.m4: Added --with-openjdk-src-zip support back in. * configure: Regenerate. From langel at redhat.com Mon Dec 10 10:00:35 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 18:00:35 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset 1863200f65e7 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=1863200f65e7 description: 2007-12-10 Lillian Angel * Makefile.am: Changed tag to use OPENJDK_VERSION var. * Makefile.in: Likewise. diffstat: 3 files changed, 9 insertions(+), 4 deletions(-) ChangeLog | 5 +++++ Makefile.am | 4 ++-- Makefile.in | 4 ++-- diffs (54 lines): diff -r ecff567e7ef1 -r 1863200f65e7 ChangeLog --- a/ChangeLog Mon Dec 10 12:44:08 2007 -0500 +++ b/ChangeLog Mon Dec 10 12:59:20 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-10 Lillian Angel + + * Makefile.am: Changed tag to use OPENJDK_VERSION var. + * Makefile.in: Likewise. + 2007-12-10 Lillian Angel * Makefile.am: Added --with-openjdk-src-zip support back in. Also, diff -r ecff567e7ef1 -r 1863200f65e7 Makefile.am --- a/Makefile.am Mon Dec 10 12:44:08 2007 -0500 +++ b/Makefile.am Mon Dec 10 12:59:20 2007 -0500 @@ -120,7 +120,7 @@ stamps/clone.stamp: if [ $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ - hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk; \ + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ fi ; \ fi chmod -R ug+w openjdk @@ -227,7 +227,7 @@ stamps/clone-ecj.stamp: stamps/clone.sta mv tmp-ecj/openjdk openjdk-ecj ; \ rmdir tmp-ecj; \ else \ - hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk-ecj; \ + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-ecj; \ fi ; \ fi chmod -R ug+w openjdk-ecj diff -r ecff567e7ef1 -r 1863200f65e7 Makefile.in --- a/Makefile.in Mon Dec 10 12:44:08 2007 -0500 +++ b/Makefile.in Mon Dec 10 12:59:20 2007 -0500 @@ -669,7 +669,7 @@ stamps/clone.stamp: if [ $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ - hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk; \ + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ fi ; \ fi chmod -R ug+w openjdk @@ -729,7 +729,7 @@ stamps/clone-ecj.stamp: stamps/clone.sta mv tmp-ecj/openjdk openjdk-ecj ; \ rmdir tmp-ecj; \ else \ - hg fclone -r jdk7-b24 $(OPENJDK_URL) openjdk-ecj; \ + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-ecj; \ fi ; \ fi chmod -R ug+w openjdk-ecj From ismail at pardus.org.tr Mon Dec 10 12:11:36 2007 From: ismail at pardus.org.tr (Ismail =?utf-8?q?D=C3=B6nmez?=) Date: Mon, 10 Dec 2007 22:11:36 +0200 Subject: IcedTea bootstrap with JDK6/7 fails Message-ID: <200712102211.37046.ismail@pardus.org.tr> Hi all, I am trying to bootstrap IcedTea HG with JDK6 (tried JDK7 b24 too with same result) and I am getting a long list of errors. But it mainly seems to be not finding sun.tools.java package. Here is the full log, any ideas appreciated. ================================================================ # Running javac: /opt/sun-jdk/bin/javac -sourcepath /packages/icedtea/openjdk/build/linux-i586/corba/gensrc:../../../../src/solaris/classes:../../../../src/share/classes -d /packages/icedtea/openjdk/build/linux-i586/corba/classes @/packages/icedtea/openjdk/build/linux-i586/corba/tmp/sun/sun.rmi.rmic/.classes.list ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:36: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:38: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:36: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:38: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:36: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:38: cannot find symbol symbol : class IndentingWriter location: package sun.rmi.rmic import sun.rmi.rmic.IndentingWriter; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:36: package sun.tools.java does not exist import sun.tools.java.Identifier; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:38: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:39: package sun.tools.java does not exist import sun.tools.java.ClassDeclaration; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:40: package sun.tools.java does not exist import sun.tools.java.MemberDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:41: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:42: package sun.tools.tree does not exist import sun.tools.tree.Node; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:43: package sun.tools.tree does not exist import sun.tools.tree.LocalMember; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:44: package sun.tools.tree does not exist import sun.tools.tree.CharExpression; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:45: package sun.tools.tree does not exist import sun.tools.tree.IntegerExpression; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:46: cannot find symbol symbol : class IndentingWriter location: package sun.rmi.rmic import sun.rmi.rmic.IndentingWriter; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:39: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:40: package sun.tools.java does not exist import sun.tools.java.ClassDeclaration; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:41: package sun.tools.java does not exist import sun.tools.java.Identifier; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:42: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:43: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:44: cannot find symbol symbol : class IndentingWriter location: package sun.rmi.rmic import sun.rmi.rmic.IndentingWriter; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:47: cannot find symbol symbol : class Names location: package sun.rmi.rmic import sun.rmi.rmic.Names; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Constants.java:35: package sun.tools.java does not exist import sun.tools.java.Identifier; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Constants.java:37: cannot find symbol symbol : class Constants location: package sun.rmi.rmic public interface Constants extends sun.rmi.rmic.Constants { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:61: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.AbstractType public static AbstractType forAbstract(ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ContextStack.java:35: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:126: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.AbstractType private AbstractType(ContextStack stack, ClassDefinition classDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:135: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.AbstractType private static boolean couldBeAbstract(ContextStack stack, ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:61: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.RemoteType public static RemoteType forRemote(ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:126: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.RemoteType protected RemoteType(ContextStack stack, ClassDefinition classDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:134: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.RemoteType protected RemoteType(ContextStack stack, ClassDefinition classDef, int typeCode) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:144: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.RemoteType ClassDefinition classDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:59: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.InterfaceType public void print ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:100: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.InterfaceType protected InterfaceType(ContextStack stack, int typeCode, ClassDefinition classDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:114: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.InterfaceType ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:63: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected ClassDefinition classDef; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:64: cannot find symbol symbol : class ClassDeclaration location: class sun.rmi.rmic.iiop.CompoundType protected ClassDeclaration classDecl; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:203: cannot find symbol symbol : class ClassDeclaration location: class sun.rmi.rmic.iiop.CompoundType public ClassDeclaration getClassDeclaration() { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:210: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType public ClassDefinition getClassDefinition() { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:35: package sun.tools.java does not exist import sun.tools.java.CompilerError; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:36: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassDeclaration; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:38: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:39: cannot find symbol symbol : class IndentingWriter location: package sun.rmi.rmic import sun.rmi.rmic.IndentingWriter; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:263: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType public static CompoundType forCompound (ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:390: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.CompoundType protected boolean printExtends (IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:408: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.CompoundType protected void printImplements (IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:440: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.CompoundType protected void printMembers ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:479: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.CompoundType protected void printMethods ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:495: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.CompoundType IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:593: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected CompoundType(ContextStack stack, int typeCode, ClassDefinition classDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:663: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected CompoundType(ContextStack stack, ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:798: package sun.tools.java does not exist protected static Type makeType (sun.tools.java.Type theType, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:799: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType ClassDefinition classDef, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:35: cannot find symbol symbol : class Main location: package sun.rmi.rmic import sun.rmi.rmic.Main; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:36: package sun.tools.java does not exist import sun.tools.java.ClassPath; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:38: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:39: package sun.tools.java does not exist import sun.tools.java.ClassDeclaration; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:40: package sun.tools.java does not exist import sun.tools.java.Identifier; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:41: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:51: cannot find symbol symbol : class BatchEnvironment location: package sun.rmi.rmic public class BatchEnvironment extends sun.rmi.rmic.BatchEnvironment implements Constants { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:981: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1029: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1163: cannot find symbol symbol : class MemberDefinition location: class sun.rmi.rmic.iiop.CompoundType private boolean isConformingConstantType (MemberDefinition member) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1170: package sun.tools.java does not exist private boolean isConformingConstantType (sun.tools.java.Type theType,MemberDefinition member) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1170: cannot find symbol symbol : class MemberDefinition location: class sun.rmi.rmic.iiop.CompoundType private boolean isConformingConstantType (sun.tools.java.Type theType,MemberDefinition member) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1224: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected Vector updateParentClassMethods(ClassDefinition current, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1228: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1295: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected Vector addAllMethods (ClassDefinition current, Vector directMethods, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1299: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1400: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected boolean inheritsFrom(ClassDefinition def, ClassDefinition otherDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1400: cannot find symbol symbol : class ClassDefinition location: class sun.rmi.rmic.iiop.CompoundType protected boolean inheritsFrom(ClassDefinition def, ClassDefinition otherDef) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1426: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType ContextStack stack) throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1483: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.CompoundType ContextStack stack) throws ClassNotFound { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1663: cannot find symbol symbol : class MemberDefinition location: class sun.rmi.rmic.iiop.CompoundType protected ValueType[] getMethodExceptions (MemberDefinition member, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:35: package sun.tools.java does not exist import sun.tools.java.ClassNotFound; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:36: package sun.tools.java does not exist import sun.tools.java.ClassDeclaration; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:37: package sun.tools.java does not exist import sun.tools.java.ClassDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:38: package sun.tools.java does not exist import sun.tools.java.MemberDefinition; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1726: cannot find symbol symbol : class MemberDefinition location: class sun.rmi.rmic.iiop.CompoundType protected static String getVisibilityString (MemberDefinition member) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:127: cannot find symbol symbol : class Identifier location: class sun.rmi.rmic.iiop.Type private Identifier id; ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:218: cannot find symbol symbol : class Identifier location: class sun.rmi.rmic.iiop.Type public Identifier getIdentifier() { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:489: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type public void print ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:507: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type public static void print ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:526: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type public void print ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:540: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type public void println ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:558: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type public void printTypeName ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:582: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type protected void printPackageOpen ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:601: package sun.tools.java does not exist protected static Type getType (sun.tools.java.Type key, ContextStack stack) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:629: package sun.tools.java does not exist protected static void removeType (sun.tools.java.Type key, ContextStack stack) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:638: package sun.tools.java does not exist protected static void putType (sun.tools.java.Type key, Type value, ContextStack stack) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:754: cannot find symbol symbol : class IndentingWriter location: class sun.rmi.rmic.iiop.Type protected void printPackageClose ( IndentingWriter writer, ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:786: cannot find symbol symbol : class Identifier location: class sun.rmi.rmic.iiop.Type protected void setNames(Identifier id, String[] idlModuleNames, String idlName) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:821: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.Type ClassNotFound e) { ^ ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:830: cannot find symbol symbol : class ClassNotFound location: class sun.rmi.rmic.iiop.Type ClassNotFound e) { ^ ../../../../src/share/classes/sun/corba/Bridge.java:39: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release import sun.misc.Unsafe ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:40: warning: sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a future release import sun.reflect.ReflectionFactory ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:84: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release private final Unsafe unsafe ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:85: warning: sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a future release private final ReflectionFactory reflectionFactory ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:114: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release private Unsafe getUnsafe() { ^ ../../../../src/share/classes/org/omg/CORBA/ORB.java:593: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning return (org.omg.CORBA.NVList)meth.invoke(this, argx); ^ ../../../../src/share/classes/sun/corba/Bridge.java:123: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release Class unsafeClass = sun.misc.Unsafe.class ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:136: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release Unsafe unsafe = null; ^ ../../../../src/share/classes/sun/corba/Bridge.java:139: warning: sun.misc.Unsafe is Sun proprietary API and may be removed in a future release unsafe = (Unsafe)(fld.get( null )) ; ^ ../../../../src/share/classes/sun/corba/Bridge.java:154: warning: sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a future release reflectionFactory = (ReflectionFactory)AccessController.doPrivileged( ^ ../../../../src/share/classes/sun/corba/Bridge.java:155: warning: sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a future release new ReflectionFactory.GetReflectionFactoryAction()); ^ ../../../../src/share/classes/sun/corba/Bridge.java:190: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning NO_ARGS); ^ ../../../../src/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java:46: warning: sun.security.action.GetPropertyAction is Sun proprietary API and may be removed in a future release import sun.security.action.GetPropertyAction; ^ ../../../../src/share/classes/com/sun/corba/se/impl/orbutil/ObjectUtility.java:353: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning cls.getDeclaredMethod( "toString", null ) ; ^ ../../../../src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java:111: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Class for a varargs call cast to java.lang.Class[] for a non-varargs call and to suppress this warning Method idMethod = helperClass.getDeclaredMethod( "id", null ) ; ^ ../../../../src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java:112: warning: non-varargs call of varargs method with inexact argument type for last parameter; cast to java.lang.Object for a varargs call cast to java.lang.Object[] for a non-varargs call and to suppress this warning setId( (String)idMethod.invoke( null, null ) ) ; ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors 16 warnings make[5]: *** [.compile.classlist] Error 1 make[5]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun/rmi/rmic' make[4]: *** [build] Error 1 make[4]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun/rmi' make[3]: *** [build] Error 1 make[3]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun' make[2]: *** [build] Error 1 make[2]: Leaving directory `/packages/icedtea/openjdk/corba/make' make[1]: *** [corba-build] Error 2 make[1]: Leaving directory `/packages/icedtea/openjdk' make: *** [icedtea] Error 2 ================================================================ -- Never learn by your mistakes, if you do you may never dare to try again. From langel at redhat.com Mon Dec 10 12:17:34 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 15:17:34 -0500 Subject: IcedTea bootstrap with JDK6/7 fails In-Reply-To: <200712102211.37046.ismail@pardus.org.tr> References: <200712102211.37046.ismail@pardus.org.tr> Message-ID: <475D9EDE.5050603@redhat.com> Hi, We have not yet tested if IcedTea bootstraps with Sun's JDK. It does bootstrap with ecj, or another version of IcedTea. Lillian Ismail D?nmez wrote: > Hi all, > > I am trying to bootstrap IcedTea HG with JDK6 (tried JDK7 b24 too with same > result) and I am getting a long list of errors. But it mainly seems to be not > finding sun.tools.java package. > > Here is the full log, any ideas appreciated. > > ================================================================ > > # Running javac: > /opt/sun-jdk/bin/javac -sourcepath /packages/icedtea/openjdk/build/linux-i586/corba/gensrc:../../../../src/solaris/classes:../../../../src/share/classes -d /packages/icedtea/openjdk/build/linux-i586/corba/classes > @/packages/icedtea/openjdk/build/linux-i586/corba/tmp/sun/sun.rmi.rmic/.classes.list > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:36: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:38: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:36: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:38: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:36: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:38: cannot > find symbol > symbol : class IndentingWriter > location: package sun.rmi.rmic > import sun.rmi.rmic.IndentingWriter; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:36: package > sun.tools.java does not exist > import sun.tools.java.Identifier; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:38: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:39: package > sun.tools.java does not exist > import sun.tools.java.ClassDeclaration; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:40: package > sun.tools.java does not exist > import sun.tools.java.MemberDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:41: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:42: package > sun.tools.tree does not exist > import sun.tools.tree.Node; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:43: package > sun.tools.tree does not exist > import sun.tools.tree.LocalMember; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:44: package > sun.tools.tree does not exist > import sun.tools.tree.CharExpression; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:45: package > sun.tools.tree does not exist > import sun.tools.tree.IntegerExpression; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:46: cannot > find symbol > symbol : class IndentingWriter > location: package sun.rmi.rmic > import sun.rmi.rmic.IndentingWriter; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:39: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:40: package > sun.tools.java does not exist > import sun.tools.java.ClassDeclaration; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:41: package > sun.tools.java does not exist > import sun.tools.java.Identifier; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:42: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:43: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:44: cannot find > symbol > symbol : class IndentingWriter > location: package sun.rmi.rmic > import sun.rmi.rmic.IndentingWriter; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:47: cannot find > symbol > symbol : class Names > location: package sun.rmi.rmic > import sun.rmi.rmic.Names; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Constants.java:35: package > sun.tools.java does not exist > import sun.tools.java.Identifier; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Constants.java:37: cannot find > symbol > symbol : class Constants > location: package sun.rmi.rmic > public interface Constants extends sun.rmi.rmic.Constants { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:61: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.AbstractType > public static AbstractType forAbstract(ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ContextStack.java:35: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:126: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.AbstractType > private AbstractType(ContextStack stack, ClassDefinition classDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/AbstractType.java:135: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.AbstractType > private static boolean couldBeAbstract(ContextStack stack, ClassDefinition > classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:61: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.RemoteType > public static RemoteType forRemote(ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:126: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.RemoteType > protected RemoteType(ContextStack stack, ClassDefinition classDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:134: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.RemoteType > protected RemoteType(ContextStack stack, ClassDefinition classDef, int > typeCode) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/RemoteType.java:144: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.RemoteType > ClassDefinition classDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:59: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.InterfaceType > public void print ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:100: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.InterfaceType > protected InterfaceType(ContextStack stack, int typeCode, ClassDefinition > classDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/InterfaceType.java:114: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.InterfaceType > ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:63: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected ClassDefinition classDef; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:64: cannot > find symbol > symbol : class ClassDeclaration > location: class sun.rmi.rmic.iiop.CompoundType > protected ClassDeclaration classDecl; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:203: cannot > find symbol > symbol : class ClassDeclaration > location: class sun.rmi.rmic.iiop.CompoundType > public ClassDeclaration getClassDeclaration() { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:210: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > public ClassDefinition getClassDefinition() { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:35: package > sun.tools.java does not exist > import sun.tools.java.CompilerError; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:36: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassDeclaration; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:38: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ClassType.java:39: cannot find > symbol > symbol : class IndentingWriter > location: package sun.rmi.rmic > import sun.rmi.rmic.IndentingWriter; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:263: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > public static CompoundType forCompound (ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:390: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.CompoundType > protected boolean printExtends (IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:408: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.CompoundType > protected void printImplements (IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:440: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.CompoundType > protected void printMembers ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:479: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.CompoundType > protected void printMethods ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:495: cannot > find symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.CompoundType > IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:593: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected CompoundType(ContextStack stack, int typeCode, ClassDefinition > classDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:663: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected CompoundType(ContextStack stack, ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:798: package > sun.tools.java does not exist > protected static Type makeType (sun.tools.java.Type theType, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:799: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > ClassDefinition classDef, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:35: > cannot find symbol > symbol : class Main > location: package sun.rmi.rmic > import sun.rmi.rmic.Main; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:36: > package sun.tools.java does not exist > import sun.tools.java.ClassPath; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:38: > package sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:39: > package sun.tools.java does not exist > import sun.tools.java.ClassDeclaration; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:40: > package sun.tools.java does not exist > import sun.tools.java.Identifier; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:41: > package sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/BatchEnvironment.java:51: > cannot find symbol > symbol : class BatchEnvironment > location: package sun.rmi.rmic > public class BatchEnvironment extends sun.rmi.rmic.BatchEnvironment implements > Constants { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:981: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > throws ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1029: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > throws ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1163: cannot > find symbol > symbol : class MemberDefinition > location: class sun.rmi.rmic.iiop.CompoundType > private boolean isConformingConstantType (MemberDefinition member) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1170: > package sun.tools.java does not exist > private boolean isConformingConstantType (sun.tools.java.Type > theType,MemberDefinition member) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1170: cannot > find symbol > symbol : class MemberDefinition > location: class sun.rmi.rmic.iiop.CompoundType > private boolean isConformingConstantType (sun.tools.java.Type > theType,MemberDefinition member) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1224: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected Vector updateParentClassMethods(ClassDefinition current, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1228: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > throws ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1295: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected Vector addAllMethods (ClassDefinition current, Vector > directMethods, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1299: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > throws ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1400: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected boolean inheritsFrom(ClassDefinition def, ClassDefinition > otherDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1400: cannot > find symbol > symbol : class ClassDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected boolean inheritsFrom(ClassDefinition def, ClassDefinition > otherDef) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1426: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > ContextStack stack) throws > ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1483: cannot > find symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.CompoundType > ContextStack stack) throws > ClassNotFound { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1663: cannot > find symbol > symbol : class MemberDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected ValueType[] getMethodExceptions (MemberDefinition member, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:35: package > sun.tools.java does not exist > import sun.tools.java.ClassNotFound; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:36: package > sun.tools.java does not exist > import sun.tools.java.ClassDeclaration; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:37: package > sun.tools.java does not exist > import sun.tools.java.ClassDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/ValueType.java:38: package > sun.tools.java does not exist > import sun.tools.java.MemberDefinition; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/CompoundType.java:1726: cannot > find symbol > symbol : class MemberDefinition > location: class sun.rmi.rmic.iiop.CompoundType > protected static String getVisibilityString (MemberDefinition member) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:127: cannot find > symbol > symbol : class Identifier > location: class sun.rmi.rmic.iiop.Type > private Identifier id; > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:218: cannot find > symbol > symbol : class Identifier > location: class sun.rmi.rmic.iiop.Type > public Identifier getIdentifier() { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:489: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > public void print ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:507: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > public static void print ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:526: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > public void print ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:540: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > public void println ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:558: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > public void printTypeName ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:582: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > protected void printPackageOpen ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:601: package > sun.tools.java does not exist > protected static Type getType (sun.tools.java.Type key, ContextStack > stack) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:629: package > sun.tools.java does not exist > protected static void removeType (sun.tools.java.Type key, ContextStack > stack) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:638: package > sun.tools.java does not exist > protected static void putType (sun.tools.java.Type key, Type value, > ContextStack stack) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:754: cannot find > symbol > symbol : class IndentingWriter > location: class sun.rmi.rmic.iiop.Type > protected void printPackageClose ( IndentingWriter writer, > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:786: cannot find > symbol > symbol : class Identifier > location: class sun.rmi.rmic.iiop.Type > protected void setNames(Identifier id, String[] idlModuleNames, String > idlName) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:821: cannot find > symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.Type > ClassNotFound e) { > ^ > ../../../../src/share/classes/sun/rmi/rmic/iiop/Type.java:830: cannot find > symbol > symbol : class ClassNotFound > location: class sun.rmi.rmic.iiop.Type > ClassNotFound e) { > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:39: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > import sun.misc.Unsafe ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:40: warning: > sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a > future release > import sun.reflect.ReflectionFactory ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:84: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > private final Unsafe unsafe ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:85: warning: > sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a > future release > private final ReflectionFactory reflectionFactory ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:114: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > private Unsafe getUnsafe() { > ^ > ../../../../src/share/classes/org/omg/CORBA/ORB.java:593: warning: non-varargs > call of varargs method with inexact argument type for last parameter; > cast to java.lang.Object for a varargs call > cast to java.lang.Object[] for a non-varargs call and to suppress this warning > return (org.omg.CORBA.NVList)meth.invoke(this, argx); > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:123: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > Class unsafeClass = sun.misc.Unsafe.class ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:136: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > Unsafe unsafe = null; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:139: warning: > sun.misc.Unsafe is Sun proprietary API and may be removed in a future release > unsafe = (Unsafe)(fld.get( null )) ; > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:154: warning: > sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a > future release > reflectionFactory = (ReflectionFactory)AccessController.doPrivileged( > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:155: warning: > sun.reflect.ReflectionFactory is Sun proprietary API and may be removed in a > future release > new ReflectionFactory.GetReflectionFactoryAction()); > ^ > ../../../../src/share/classes/sun/corba/Bridge.java:190: warning: non-varargs > call of varargs method with inexact argument type for last parameter; > cast to java.lang.Object for a varargs call > cast to java.lang.Object[] for a non-varargs call and to suppress this warning > NO_ARGS); > ^ > ../../../../src/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java:46: > warning: sun.security.action.GetPropertyAction is Sun proprietary API and may > be removed in a future release > import sun.security.action.GetPropertyAction; > ^ > ../../../../src/share/classes/com/sun/corba/se/impl/orbutil/ObjectUtility.java:353: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > cast to java.lang.Class for a varargs call > cast to java.lang.Class[] for a non-varargs call and to suppress this warning > cls.getDeclaredMethod( "toString", null ) ; > ^ > ../../../../src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java:111: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > cast to java.lang.Class for a varargs call > cast to java.lang.Class[] for a non-varargs call and to suppress this warning > Method idMethod = helperClass.getDeclaredMethod( "id", > null ) ; > ^ > ../../../../src/share/classes/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java:112: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > cast to java.lang.Object for a varargs call > cast to java.lang.Object[] for a non-varargs call and to suppress this warning > setId( (String)idMethod.invoke( null, null ) ) ; > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 100 errors > 16 warnings > make[5]: *** [.compile.classlist] Error 1 > make[5]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun/rmi/rmic' > make[4]: *** [build] Error 1 > make[4]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun/rmi' > make[3]: *** [build] Error 1 > make[3]: Leaving directory `/packages/icedtea/openjdk/corba/make/sun' > make[2]: *** [build] Error 1 > make[2]: Leaving directory `/packages/icedtea/openjdk/corba/make' > make[1]: *** [corba-build] Error 2 > make[1]: Leaving directory `/packages/icedtea/openjdk' > make: *** [icedtea] Error 2 > > ================================================================ > > From jsumali at redhat.com Mon Dec 10 12:19:02 2007 From: jsumali at redhat.com (Joshua Sumali) Date: Mon, 10 Dec 2007 15:19:02 -0500 Subject: IcedTea bootstrap with JDK6/7 fails In-Reply-To: <200712102211.37046.ismail@pardus.org.tr> References: <200712102211.37046.ismail@pardus.org.tr> Message-ID: <475D9F36.1090308@redhat.com> Ismail D?nmez wrote: > Hi all, > > I am trying to bootstrap IcedTea HG with JDK6 (tried JDK7 b24 too with same > result) and I am getting a long list of errors. But it mainly seems to be not > finding sun.tools.java package. > > Here is the full log, any ideas appreciated. > > ================================================================ Hi, What is your bootstrap/jdk1.6.0 (in your IcedTea directory) pointing to? Josh From ismail at pardus.org.tr Mon Dec 10 12:22:45 2007 From: ismail at pardus.org.tr (Ismail =?utf-8?q?D=C3=B6nmez?=) Date: Mon, 10 Dec 2007 22:22:45 +0200 Subject: IcedTea bootstrap with JDK6/7 fails In-Reply-To: <475D9EDE.5050603@redhat.com> References: <200712102211.37046.ismail@pardus.org.tr> <475D9EDE.5050603@redhat.com> Message-ID: <200712102222.45803.ismail@pardus.org.tr> Hi there, Monday 10 December 2007 22:17:34 tarihinde Lillian Angel ?unlar? yazm??t?: > We have not yet tested if IcedTea bootstraps with Sun's JDK. It does > bootstrap with ecj, or another version of IcedTea. I am trying to package IcedTea for Pardus Linux but we have no gcj and we don't plan to package it. So I wonder is there a way to use ecj + jdk classpath to bootstrap IcedTea or its not supported either? Thanks, ismail -- Never learn by your mistakes, if you do you may never dare to try again. From ismail at pardus.org.tr Mon Dec 10 12:24:15 2007 From: ismail at pardus.org.tr (Ismail =?utf-8?q?D=C3=B6nmez?=) Date: Mon, 10 Dec 2007 22:24:15 +0200 Subject: IcedTea bootstrap with JDK6/7 fails In-Reply-To: <475D9F36.1090308@redhat.com> References: <200712102211.37046.ismail@pardus.org.tr> <475D9F36.1090308@redhat.com> Message-ID: <200712102224.15284.ismail@pardus.org.tr> Monday 10 December 2007 22:19:02 tarihinde Joshua Sumali ?unlar? yazm??t?: > Ismail D?nmez wrote: > > Hi all, > > > > I am trying to bootstrap IcedTea HG with JDK6 (tried JDK7 b24 too with > > same result) and I am getting a long list of errors. But it mainly seems > > to be not finding sun.tools.java package. > > > > Here is the full log, any ideas appreciated. > > > > ================================================================ > > Hi, > > What is your bootstrap/jdk1.6.0 (in your IcedTea directory) pointing to? To /opt/sun-jdk which is JDK6. -- Never learn by your mistakes, if you do you may never dare to try again. From langel at redhat.com Mon Dec 10 12:59:38 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 20:59:38 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset a3f84ad08c02 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a3f84ad08c02 description: 2007-12-10 Lillian Angel * Makefile.am (dist-openjdk): New target to create openjdk zip. * Makefile.in: Regenerate. * configure.ac: Added check for tar tool. * configure: Regenerate. diffstat: 5 files changed, 138 insertions(+), 2 deletions(-) ChangeLog | 7 +++ Makefile.am | 8 ++++ Makefile.in | 9 ++++ configure | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- configure.ac | 1 diffs (225 lines): diff -r 1863200f65e7 -r a3f84ad08c02 ChangeLog --- a/ChangeLog Mon Dec 10 12:59:20 2007 -0500 +++ b/ChangeLog Mon Dec 10 15:58:26 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-10 Lillian Angel + + * Makefile.am (dist-openjdk): New target to create openjdk zip. + * Makefile.in: Regenerate. + * configure.ac: Added check for tar tool. + * configure: Regenerate. + 2007-12-10 Lillian Angel * Makefile.am: Changed tag to use OPENJDK_VERSION var. diff -r 1863200f65e7 -r a3f84ad08c02 Makefile.am --- a/Makefile.am Mon Dec 10 12:59:20 2007 -0500 +++ b/Makefile.am Mon Dec 10 15:58:26 2007 -0500 @@ -102,6 +102,14 @@ env-ecj: # Mercurial snapshot. snapshot: dist mv $(DIST_ARCHIVES) $(distdir)-`hg tip --template '{node}'`.tar.gz + +# Creates archive of openjdk. +dist-openjdk: + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-dist/openjdk + find -name \\.hg* | xargs rm -rf + cd openjdk-dist && $(TAR) czf openjdk-$(OPENJDK_VERSION).tar.gz openjdk/ + mv openjdk-dist/openjdk-$(OPENJDK_VERSION).tar.gz . + rm -rf openjdk-dist # OpenJDK Source Preparation Targets # ================================== diff -r 1863200f65e7 -r a3f84ad08c02 Makefile.in --- a/Makefile.in Mon Dec 10 12:59:20 2007 -0500 +++ b/Makefile.in Mon Dec 10 15:58:26 2007 -0500 @@ -131,6 +131,7 @@ SYSTEM_ANT_DIR = @SYSTEM_ANT_DIR@ SYSTEM_ANT_DIR = @SYSTEM_ANT_DIR@ SYSTEM_GCJ_DIR = @SYSTEM_GCJ_DIR@ SYSTEM_ICEDTEA_DIR = @SYSTEM_ICEDTEA_DIR@ +TAR = @TAR@ UNZIP = @UNZIP@ VERSION = @VERSION@ WGET = @WGET@ @@ -664,6 +665,14 @@ snapshot: dist snapshot: dist mv $(DIST_ARCHIVES) $(distdir)-`hg tip --template '{node}'`.tar.gz +# Creates archive of openjdk. +dist-openjdk: + hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-dist/openjdk + find -name \\.hg* | xargs rm -rf + cd openjdk-dist && $(TAR) czf openjdk-$(OPENJDK_VERSION).tar.gz openjdk/ + mv openjdk-dist/openjdk-$(OPENJDK_VERSION).tar.gz . + rm -rf openjdk-dist + stamps/clone.stamp: if ! test -d openjdk ; then \ if [ $(OPENJDK_SRC_ZIP) ] ; then \ diff -r 1863200f65e7 -r a3f84ad08c02 configure --- a/configure Mon Dec 10 12:59:20 2007 -0500 +++ b/configure Mon Dec 10 15:58:26 2007 -0500 @@ -708,6 +708,7 @@ MD5SUM MD5SUM PATCH UNZIP +TAR WGET CHMOD GAWK @@ -4476,6 +4477,115 @@ fi if test x"$UNZIP" = x ; then { { echo "$as_me:$LINENO: error: unzip program not found in PATH" >&5 echo "$as_me: error: unzip program not found in PATH" >&2;} + { (exit 1); exit 1; }; } + fi + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}tar", so it can be a program name with args. +set dummy ${ac_tool_prefix}tar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_TAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_TAR="$TAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +TAR=$ac_cv_path_TAR +if test -n "$TAR"; then + { echo "$as_me:$LINENO: result: $TAR" >&5 +echo "${ECHO_T}$TAR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_TAR"; then + ac_pt_TAR=$TAR + # Extract the first word of "tar", so it can be a program name with args. +set dummy tar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ac_pt_TAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ac_pt_TAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_TAR="$ac_pt_TAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_TAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_TAR=$ac_cv_path_ac_pt_TAR +if test -n "$ac_pt_TAR"; then + { echo "$as_me:$LINENO: result: $ac_pt_TAR" >&5 +echo "${ECHO_T}$ac_pt_TAR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_pt_TAR" = x; then + TAR="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + TAR=$ac_pt_TAR + fi +else + TAR="$ac_cv_path_TAR" +fi + + if test x"$TAR" = x ; then + { { echo "$as_me:$LINENO: error: tar program not found in PATH" >&5 +echo "$as_me: error: tar program not found in PATH" >&2;} { (exit 1); exit 1; }; } fi @@ -10636,10 +10746,10 @@ MD5SUM!$MD5SUM$ac_delim MD5SUM!$MD5SUM$ac_delim PATCH!$PATCH$ac_delim UNZIP!$UNZIP$ac_delim +TAR!$TAR$ac_delim WGET!$WGET$ac_delim CHMOD!$CHMOD$ac_delim GAWK!$GAWK$ac_delim -SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -10681,6 +10791,7 @@ ac_delim='%!_!# ' ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim WITH_ICEDTEA_TRUE!$WITH_ICEDTEA_TRUE$ac_delim @@ -10721,7 +10832,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -r 1863200f65e7 -r a3f84ad08c02 configure.ac --- a/configure.ac Mon Dec 10 12:59:20 2007 -0500 +++ b/configure.ac Mon Dec 10 15:58:26 2007 -0500 @@ -13,6 +13,7 @@ FIND_TOOL([MD5SUM], [md5sum]) FIND_TOOL([MD5SUM], [md5sum]) FIND_TOOL([PATCH], [patch]) FIND_TOOL([UNZIP], [unzip]) +FIND_TOOL([TAR], [tar]) FIND_TOOL([WGET], [wget]) FIND_TOOL([CHMOD], [chmod]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we From langel at redhat.com Mon Dec 10 13:03:11 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 21:03:11 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset 7cd5566f5c8a in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7cd5566f5c8a description: 2007-12-10 Lillian Angel * configure.ac: Removed checks for unused tools. * configure: Regenerate. diffstat: 4 files changed, 9 insertions(+), 343 deletions(-) ChangeLog | 5 Makefile.in | 3 configure | 341 ---------------------------------------------------------- configure.ac | 3 diffs (447 lines): diff -r a3f84ad08c02 -r 7cd5566f5c8a ChangeLog --- a/ChangeLog Mon Dec 10 15:58:26 2007 -0500 +++ b/ChangeLog Mon Dec 10 16:01:55 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-10 Lillian Angel + + * configure.ac: Removed checks for unused tools. + * configure: Regenerate. + 2007-12-10 Lillian Angel * Makefile.am (dist-openjdk): New target to create openjdk zip. diff -r a3f84ad08c02 -r 7cd5566f5c8a Makefile.in --- a/Makefile.in Mon Dec 10 15:58:26 2007 -0500 +++ b/Makefile.in Mon Dec 10 16:01:55 2007 -0500 @@ -109,7 +109,6 @@ LIBS = @LIBS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ -MD5SUM = @MD5SUM@ MKDIR_P = @MKDIR_P@ MOZILLA_CFLAGS = @MOZILLA_CFLAGS@ MOZILLA_LIBS = @MOZILLA_LIBS@ @@ -132,9 +131,7 @@ SYSTEM_GCJ_DIR = @SYSTEM_GCJ_DIR@ SYSTEM_GCJ_DIR = @SYSTEM_GCJ_DIR@ SYSTEM_ICEDTEA_DIR = @SYSTEM_ICEDTEA_DIR@ TAR = @TAR@ -UNZIP = @UNZIP@ VERSION = @VERSION@ -WGET = @WGET@ XALAN2_JAR = @XALAN2_JAR@ XALAN2_SERIALIZER_JAR = @XALAN2_SERIALIZER_JAR@ XERCES2_JAR = @XERCES2_JAR@ diff -r a3f84ad08c02 -r 7cd5566f5c8a configure --- a/configure Mon Dec 10 15:58:26 2007 -0500 +++ b/configure Mon Dec 10 16:01:55 2007 -0500 @@ -705,11 +705,8 @@ am__fastdepCXX_TRUE am__fastdepCXX_TRUE am__fastdepCXX_FALSE FIND -MD5SUM PATCH -UNZIP TAR -WGET CHMOD GAWK SYSTEM_GCJ_DIR @@ -4155,115 +4152,6 @@ echo "$as_me: error: find program not fo if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}md5sum", so it can be a program name with args. -set dummy ${ac_tool_prefix}md5sum; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_MD5SUM+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MD5SUM in - [\\/]* | ?:[\\/]*) - ac_cv_path_MD5SUM="$MD5SUM" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_MD5SUM="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -MD5SUM=$ac_cv_path_MD5SUM -if test -n "$MD5SUM"; then - { echo "$as_me:$LINENO: result: $MD5SUM" >&5 -echo "${ECHO_T}$MD5SUM" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_MD5SUM"; then - ac_pt_MD5SUM=$MD5SUM - # Extract the first word of "md5sum", so it can be a program name with args. -set dummy md5sum; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_MD5SUM+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_MD5SUM in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_MD5SUM="$ac_pt_MD5SUM" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_MD5SUM="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_MD5SUM=$ac_cv_path_ac_pt_MD5SUM -if test -n "$ac_pt_MD5SUM"; then - { echo "$as_me:$LINENO: result: $ac_pt_MD5SUM" >&5 -echo "${ECHO_T}$ac_pt_MD5SUM" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_MD5SUM" = x; then - MD5SUM="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - MD5SUM=$ac_pt_MD5SUM - fi -else - MD5SUM="$ac_cv_path_MD5SUM" -fi - - if test x"$MD5SUM" = x ; then - { { echo "$as_me:$LINENO: error: md5sum program not found in PATH" >&5 -echo "$as_me: error: md5sum program not found in PATH" >&2;} - { (exit 1); exit 1; }; } - fi - - -if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args. set dummy ${ac_tool_prefix}patch; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -4373,115 +4261,6 @@ echo "$as_me: error: patch program not f if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}unzip", so it can be a program name with args. -set dummy ${ac_tool_prefix}unzip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_UNZIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $UNZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -UNZIP=$ac_cv_path_UNZIP -if test -n "$UNZIP"; then - { echo "$as_me:$LINENO: result: $UNZIP" >&5 -echo "${ECHO_T}$UNZIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_UNZIP"; then - ac_pt_UNZIP=$UNZIP - # Extract the first word of "unzip", so it can be a program name with args. -set dummy unzip; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_UNZIP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_UNZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_UNZIP="$ac_pt_UNZIP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_UNZIP="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_UNZIP=$ac_cv_path_ac_pt_UNZIP -if test -n "$ac_pt_UNZIP"; then - { echo "$as_me:$LINENO: result: $ac_pt_UNZIP" >&5 -echo "${ECHO_T}$ac_pt_UNZIP" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_UNZIP" = x; then - UNZIP="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - UNZIP=$ac_pt_UNZIP - fi -else - UNZIP="$ac_cv_path_UNZIP" -fi - - if test x"$UNZIP" = x ; then - { { echo "$as_me:$LINENO: error: unzip program not found in PATH" >&5 -echo "$as_me: error: unzip program not found in PATH" >&2;} - { (exit 1); exit 1; }; } - fi - - -if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}tar", so it can be a program name with args. set dummy ${ac_tool_prefix}tar; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -4586,115 +4365,6 @@ fi if test x"$TAR" = x ; then { { echo "$as_me:$LINENO: error: tar program not found in PATH" >&5 echo "$as_me: error: tar program not found in PATH" >&2;} - { (exit 1); exit 1; }; } - fi - - -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}wget", so it can be a program name with args. -set dummy ${ac_tool_prefix}wget; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_WGET+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $WGET in - [\\/]* | ?:[\\/]*) - ac_cv_path_WGET="$WGET" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -WGET=$ac_cv_path_WGET -if test -n "$WGET"; then - { echo "$as_me:$LINENO: result: $WGET" >&5 -echo "${ECHO_T}$WGET" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_WGET"; then - ac_pt_WGET=$WGET - # Extract the first word of "wget", so it can be a program name with args. -set dummy wget; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_WGET+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_WGET in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_WGET="$ac_pt_WGET" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_WGET="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_WGET=$ac_cv_path_ac_pt_WGET -if test -n "$ac_pt_WGET"; then - { echo "$as_me:$LINENO: result: $ac_pt_WGET" >&5 -echo "${ECHO_T}$ac_pt_WGET" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_WGET" = x; then - WGET="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf at gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - WGET=$ac_pt_WGET - fi -else - WGET="$ac_cv_path_WGET" -fi - - if test x"$WGET" = x ; then - { { echo "$as_me:$LINENO: error: wget program not found in PATH" >&5 -echo "$as_me: error: wget program not found in PATH" >&2;} { (exit 1); exit 1; }; } fi @@ -10743,13 +10413,13 @@ am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim FIND!$FIND$ac_delim -MD5SUM!$MD5SUM$ac_delim PATCH!$PATCH$ac_delim -UNZIP!$UNZIP$ac_delim TAR!$TAR$ac_delim -WGET!$WGET$ac_delim CHMOD!$CHMOD$ac_delim GAWK!$GAWK$ac_delim +SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim +SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim +SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -10791,9 +10461,6 @@ ac_delim='%!_!# ' ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF -SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim -SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim -SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim WITH_ICEDTEA_TRUE!$WITH_ICEDTEA_TRUE$ac_delim WITH_ICEDTEA_FALSE!$WITH_ICEDTEA_FALSE$ac_delim BUILD_ARCH_DIR!$BUILD_ARCH_DIR$ac_delim @@ -10832,7 +10499,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -r a3f84ad08c02 -r 7cd5566f5c8a configure.ac --- a/configure.ac Mon Dec 10 15:58:26 2007 -0500 +++ b/configure.ac Mon Dec 10 16:01:55 2007 -0500 @@ -10,11 +10,8 @@ AC_PROG_CXX AC_PROG_CXX FIND_TOOL([FIND], [find]) -FIND_TOOL([MD5SUM], [md5sum]) FIND_TOOL([PATCH], [patch]) -FIND_TOOL([UNZIP], [unzip]) FIND_TOOL([TAR], [tar]) -FIND_TOOL([WGET], [wget]) FIND_TOOL([CHMOD], [chmod]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. From langel at redhat.com Mon Dec 10 13:22:44 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 21:22:44 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset ac463be6d6f3 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ac463be6d6f3 description: 2007-12-10 Lillian Angel * INSTALL: Added note about new target dist-openjdk. diffstat: 2 files changed, 10 insertions(+) ChangeLog | 4 ++++ INSTALL | 6 ++++++ diffs (24 lines): diff -r 7cd5566f5c8a -r ac463be6d6f3 ChangeLog --- a/ChangeLog Mon Dec 10 16:01:55 2007 -0500 +++ b/ChangeLog Mon Dec 10 16:21:15 2007 -0500 @@ -1,3 +1,7 @@ 2007-12-10 Lillian Angel + + * INSTALL: Added note about new target dist-openjdk. + 2007-12-10 Lillian Angel * configure.ac: Removed checks for unused tools. diff -r 7cd5566f5c8a -r ac463be6d6f3 INSTALL --- a/INSTALL Mon Dec 10 16:01:55 2007 -0500 +++ b/INSTALL Mon Dec 10 16:21:15 2007 -0500 @@ -64,3 +64,9 @@ the rt plugs certain files need to be de To view all targets that create stamp files, see Makefile.am (section 'All Stamped Targets'). + + +Important Targets +----------------- + +- 'make dist-openjdk' creates a tarball of the openjdk sources for the current release. From matthew.flaschen at gatech.edu Mon Dec 10 15:22:53 2007 From: matthew.flaschen at gatech.edu (Matthew Flaschen) Date: Mon, 10 Dec 2007 18:22:53 -0500 Subject: IcedTea b24 update In-Reply-To: <475D5E9C.2000500@redhat.com> References: <475D5E9C.2000500@redhat.com> Message-ID: <475DCA4D.60806@gatech.edu> Lillian Angel wrote: > Hi, > > I will be updating IcedTea to b24 sometime today. Since the OpenJDK is > now attainable through mercurial, you will need Mercurial 0.9.5 > installed, as well as the forest extension > (http://mail.openjdk.java.net/pipermail/build-dev/2007-October/000342.html). Can the forest extension be explained? I don't know where hgext is, and I would prefer to put forest.py elsewhere. Thanks, Matt Flaschen From ismail at pardus.org.tr Mon Dec 10 15:29:12 2007 From: ismail at pardus.org.tr (Ismail =?utf-8?q?D=C3=B6nmez?=) Date: Tue, 11 Dec 2007 01:29:12 +0200 Subject: IcedTea b24 update In-Reply-To: <475DCA4D.60806@gatech.edu> References: <475D5E9C.2000500@redhat.com> <475DCA4D.60806@gatech.edu> Message-ID: <200712110129.13049.ismail@pardus.org.tr> Tuesday 11 December 2007 01:22:53 tarihinde Matthew Flaschen ?unlar? yazm??t?: > Lillian Angel wrote: > > Hi, > > > > I will be updating IcedTea to b24 sometime today. Since the OpenJDK is > > now attainable through mercurial, you will need Mercurial 0.9.5 > > installed, as well as the forest extension > > (http://mail.openjdk.java.net/pipermail/build-dev/2007-October/000342.htm > >l). > > Can the forest extension be explained? I don't know where hgext is, and > I would prefer to put forest.py elsewhere. Put the following in your ~/.hgrc [extensions] forest=/path/to/forest.py For details checkout http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again. From doko at ubuntu.com Mon Dec 10 15:42:02 2007 From: doko at ubuntu.com (Matthias Klose) Date: Tue, 11 Dec 2007 00:42:02 +0100 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel References: <475D6CB6.3070204@redhat.com> Message-ID: <475DCECA.7090501@ubuntu.com> Thomas Fitzsimmons schrieb: > Hi, > > Lillian Angel wrote: >> changeset 3697dfe80c91 in /hg/icedtea >> details: >> http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=3697dfe80c91 >> description: >> 2007-12-10 Lillian Angel >> >> * INSTALL: Updated requirements. >> * Makefile.am: Update to b24- use hg to clone/update openjdk. >> * Makefile.in: Regenerate. >> * acinclude.m4: Removed unneeded option >> (--with-openjdk-src-zip). > > Packagers at least will still want --with-openjdk-src-zip since build > systems are typically denied network access. and rules/options to build with it. Currently dist-openjdk builds a tar.gz, but the build accepts a .zip only. Matthias From langel at redhat.com Mon Dec 10 18:01:27 2007 From: langel at redhat.com (Lillian Angel) Date: Mon, 10 Dec 2007 21:01:27 -0500 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel References: <475D6CB6.3070204@redhat.com> <475DCECA.7090501@ubuntu.com> Message-ID: <475DEF77.7040505@redhat.com> Matthias Klose wrote: > Thomas Fitzsimmons schrieb: > >> Hi, >> >> Lillian Angel wrote: >> >>> changeset 3697dfe80c91 in /hg/icedtea >>> details: >>> http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=3697dfe80c91 >>> description: >>> 2007-12-10 Lillian Angel >>> >>> * INSTALL: Updated requirements. >>> * Makefile.am: Update to b24- use hg to clone/update openjdk. >>> * Makefile.in: Regenerate. >>> * acinclude.m4: Removed unneeded option >>> (--with-openjdk-src-zip). >>> >> Packagers at least will still want --with-openjdk-src-zip since build >> systems are typically denied network access. >> > > and rules/options to build with it. Currently dist-openjdk builds a tar.gz, but > the build accepts a .zip only. > Ah, that was a sloppy mistake. I will fix that up now. Thanks Lillian From langel at redhat.com Mon Dec 10 18:15:02 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 11 Dec 2007 02:15:02 +0000 Subject: changeset in /hg/icedtea: 2007-12-10 Lillian Angel changeset e383e1d1a614 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=e383e1d1a614 description: 2007-12-10 Lillian Angel * INSTALL: Updated important targets section. * Makefile.am (dist-openjdk): Changed to create zip, not tarball. * Makefile.in: Regenerate. * configure.ac: Added check for zip and unzip tools * configure: Regenerate. diffstat: 6 files changed, 167 insertions(+), 46 deletions(-) ChangeLog | 8 ++ INSTALL | 2 Makefile.am | 6 - Makefile.in | 9 +- configure | 185 ++++++++++++++++++++++++++++++++++++++++++++++------------ configure.ac | 3 diffs (367 lines): diff -r ac463be6d6f3 -r e383e1d1a614 ChangeLog --- a/ChangeLog Mon Dec 10 16:21:15 2007 -0500 +++ b/ChangeLog Mon Dec 10 21:13:50 2007 -0500 @@ -1,3 +1,11 @@ 2007-12-10 Lillian Angel + + * INSTALL: Updated important targets section. + * Makefile.am (dist-openjdk): Changed to create zip, not tarball. + * Makefile.in: Regenerate. + * configure.ac: Added check for zip and unzip tools + * configure: Regenerate. + 2007-12-10 Lillian Angel * INSTALL: Added note about new target dist-openjdk. diff -r ac463be6d6f3 -r e383e1d1a614 INSTALL --- a/INSTALL Mon Dec 10 16:21:15 2007 -0500 +++ b/INSTALL Mon Dec 10 21:13:50 2007 -0500 @@ -69,4 +69,4 @@ Important Targets Important Targets ----------------- -- 'make dist-openjdk' creates a tarball of the openjdk sources for the current release. +- 'make dist-openjdk' creates a zip of the openjdk sources for the current release. diff -r ac463be6d6f3 -r e383e1d1a614 Makefile.am --- a/Makefile.am Mon Dec 10 16:21:15 2007 -0500 +++ b/Makefile.am Mon Dec 10 21:13:50 2007 -0500 @@ -106,9 +106,9 @@ snapshot: dist # Creates archive of openjdk. dist-openjdk: hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-dist/openjdk - find -name \\.hg* | xargs rm -rf - cd openjdk-dist && $(TAR) czf openjdk-$(OPENJDK_VERSION).tar.gz openjdk/ - mv openjdk-dist/openjdk-$(OPENJDK_VERSION).tar.gz . + find -name \\.hg* | xargs rm -rf + cd openjdk-dist && $(ZIP) -r openjdk-$(OPENJDK_VERSION) openjdk/ + mv openjdk-dist/openjdk-$(OPENJDK_VERSION).zip . rm -rf openjdk-dist # OpenJDK Source Preparation Targets diff -r ac463be6d6f3 -r e383e1d1a614 Makefile.in --- a/Makefile.in Mon Dec 10 16:21:15 2007 -0500 +++ b/Makefile.in Mon Dec 10 21:13:50 2007 -0500 @@ -130,11 +130,12 @@ SYSTEM_ANT_DIR = @SYSTEM_ANT_DIR@ SYSTEM_ANT_DIR = @SYSTEM_ANT_DIR@ SYSTEM_GCJ_DIR = @SYSTEM_GCJ_DIR@ SYSTEM_ICEDTEA_DIR = @SYSTEM_ICEDTEA_DIR@ -TAR = @TAR@ +UNZIP = @UNZIP@ VERSION = @VERSION@ XALAN2_JAR = @XALAN2_JAR@ XALAN2_SERIALIZER_JAR = @XALAN2_SERIALIZER_JAR@ XERCES2_JAR = @XERCES2_JAR@ +ZIP = @ZIP@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ @@ -665,9 +666,9 @@ snapshot: dist # Creates archive of openjdk. dist-openjdk: hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-dist/openjdk - find -name \\.hg* | xargs rm -rf - cd openjdk-dist && $(TAR) czf openjdk-$(OPENJDK_VERSION).tar.gz openjdk/ - mv openjdk-dist/openjdk-$(OPENJDK_VERSION).tar.gz . + find -name \\.hg* | xargs rm -rf + cd openjdk-dist && $(ZIP) -r openjdk-$(OPENJDK_VERSION) openjdk/ + mv openjdk-dist/openjdk-$(OPENJDK_VERSION).zip . rm -rf openjdk-dist stamps/clone.stamp: diff -r ac463be6d6f3 -r e383e1d1a614 configure --- a/configure Mon Dec 10 16:21:15 2007 -0500 +++ b/configure Mon Dec 10 21:13:50 2007 -0500 @@ -706,7 +706,8 @@ am__fastdepCXX_FALSE am__fastdepCXX_FALSE FIND PATCH -TAR +ZIP +UNZIP CHMOD GAWK SYSTEM_GCJ_DIR @@ -4261,16 +4262,16 @@ echo "$as_me: error: patch program not f if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}tar", so it can be a program name with args. -set dummy ${ac_tool_prefix}tar; ac_word=$2 + # Extract the first word of "${ac_tool_prefix}zip", so it can be a program name with args. +set dummy ${ac_tool_prefix}zip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_TAR+set}" = set; then +if test "${ac_cv_path_ZIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $TAR in + case $ZIP in [\\/]* | ?:[\\/]*) - ac_cv_path_TAR="$TAR" # Let the user override the test with a path. + ac_cv_path_ZIP="$ZIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4280,7 +4281,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_ZIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4291,10 +4292,10 @@ IFS=$as_save_IFS ;; esac fi -TAR=$ac_cv_path_TAR -if test -n "$TAR"; then - { echo "$as_me:$LINENO: result: $TAR" >&5 -echo "${ECHO_T}$TAR" >&6; } +ZIP=$ac_cv_path_ZIP +if test -n "$ZIP"; then + { echo "$as_me:$LINENO: result: $ZIP" >&5 +echo "${ECHO_T}$ZIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } @@ -4302,18 +4303,18 @@ fi fi -if test -z "$ac_cv_path_TAR"; then - ac_pt_TAR=$TAR - # Extract the first word of "tar", so it can be a program name with args. -set dummy tar; ac_word=$2 +if test -z "$ac_cv_path_ZIP"; then + ac_pt_ZIP=$ZIP + # Extract the first word of "zip", so it can be a program name with args. +set dummy zip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_ac_pt_TAR+set}" = set; then +if test "${ac_cv_path_ac_pt_ZIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $ac_pt_TAR in + case $ac_pt_ZIP in [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_TAR="$ac_pt_TAR" # Let the user override the test with a path. + ac_cv_path_ac_pt_ZIP="$ac_pt_ZIP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -4323,7 +4324,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_TAR="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_ac_pt_ZIP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -4334,17 +4335,17 @@ IFS=$as_save_IFS ;; esac fi -ac_pt_TAR=$ac_cv_path_ac_pt_TAR -if test -n "$ac_pt_TAR"; then - { echo "$as_me:$LINENO: result: $ac_pt_TAR" >&5 -echo "${ECHO_T}$ac_pt_TAR" >&6; } +ac_pt_ZIP=$ac_cv_path_ac_pt_ZIP +if test -n "$ac_pt_ZIP"; then + { echo "$as_me:$LINENO: result: $ac_pt_ZIP" >&5 +echo "${ECHO_T}$ac_pt_ZIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi - if test "x$ac_pt_TAR" = x; then - TAR="" + if test "x$ac_pt_ZIP" = x; then + ZIP="" else case $cross_compiling:$ac_tool_warned in yes:) @@ -4356,15 +4357,124 @@ configuration is useful to you, please w configuration is useful to you, please write to autoconf at gnu.org." >&2;} ac_tool_warned=yes ;; esac - TAR=$ac_pt_TAR - fi -else - TAR="$ac_cv_path_TAR" -fi - - if test x"$TAR" = x ; then - { { echo "$as_me:$LINENO: error: tar program not found in PATH" >&5 -echo "$as_me: error: tar program not found in PATH" >&2;} + ZIP=$ac_pt_ZIP + fi +else + ZIP="$ac_cv_path_ZIP" +fi + + if test x"$ZIP" = x ; then + { { echo "$as_me:$LINENO: error: zip program not found in PATH" >&5 +echo "$as_me: error: zip program not found in PATH" >&2;} + { (exit 1); exit 1; }; } + fi + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}unzip", so it can be a program name with args. +set dummy ${ac_tool_prefix}unzip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_UNZIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UNZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_UNZIP="$UNZIP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_UNZIP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +UNZIP=$ac_cv_path_UNZIP +if test -n "$UNZIP"; then + { echo "$as_me:$LINENO: result: $UNZIP" >&5 +echo "${ECHO_T}$UNZIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_UNZIP"; then + ac_pt_UNZIP=$UNZIP + # Extract the first word of "unzip", so it can be a program name with args. +set dummy unzip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ac_pt_UNZIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ac_pt_UNZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_UNZIP="$ac_pt_UNZIP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_UNZIP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_UNZIP=$ac_cv_path_ac_pt_UNZIP +if test -n "$ac_pt_UNZIP"; then + { echo "$as_me:$LINENO: result: $ac_pt_UNZIP" >&5 +echo "${ECHO_T}$ac_pt_UNZIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_pt_UNZIP" = x; then + UNZIP="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + UNZIP=$ac_pt_UNZIP + fi +else + UNZIP="$ac_cv_path_UNZIP" +fi + + if test x"$UNZIP" = x ; then + { { echo "$as_me:$LINENO: error: unzip program not found in PATH" >&5 +echo "$as_me: error: unzip program not found in PATH" >&2;} { (exit 1); exit 1; }; } fi @@ -10414,12 +10524,12 @@ am__fastdepCXX_FALSE!$am__fastdepCXX_FAL am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim FIND!$FIND$ac_delim PATCH!$PATCH$ac_delim -TAR!$TAR$ac_delim +ZIP!$ZIP$ac_delim +UNZIP!$UNZIP$ac_delim CHMOD!$CHMOD$ac_delim GAWK!$GAWK$ac_delim SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim -SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -10461,6 +10571,7 @@ ac_delim='%!_!# ' ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim WITH_ICEDTEA_TRUE!$WITH_ICEDTEA_TRUE$ac_delim WITH_ICEDTEA_FALSE!$WITH_ICEDTEA_FALSE$ac_delim BUILD_ARCH_DIR!$BUILD_ARCH_DIR$ac_delim @@ -10499,7 +10610,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -r ac463be6d6f3 -r e383e1d1a614 configure.ac --- a/configure.ac Mon Dec 10 16:21:15 2007 -0500 +++ b/configure.ac Mon Dec 10 21:13:50 2007 -0500 @@ -11,7 +11,8 @@ AC_PROG_CXX FIND_TOOL([FIND], [find]) FIND_TOOL([PATCH], [patch]) -FIND_TOOL([TAR], [tar]) +FIND_TOOL([ZIP], [zip]) +FIND_TOOL([UNZIP], [unzip]) FIND_TOOL([CHMOD], [chmod]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. From matthew.flaschen at gatech.edu Mon Dec 10 18:33:56 2007 From: matthew.flaschen at gatech.edu (Matthew Flaschen) Date: Mon, 10 Dec 2007 21:33:56 -0500 Subject: IcedTea b24 update In-Reply-To: <200712110129.13049.ismail@pardus.org.tr> References: <475D5E9C.2000500@redhat.com> <475DCA4D.60806@gatech.edu> <200712110129.13049.ismail@pardus.org.tr> Message-ID: <475DF714.4070600@gatech.edu> Ismail D?nmez wrote: >> Can the forest extension be explained? I don't know where hgext is, and >> I would prefer to put forest.py elsewhere. > > Put the following in your ~/.hgrc > > [extensions] > forest=/path/to/forest.py > > For details checkout > http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions > > Regards, > ismail Thanks very much. Matt Flaschen From bugzilla-daemon at icedtea.classpath.org Mon Dec 10 18:50:46 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 02:50:46 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #4 from mjrz.net at gmail.com 2007-12-11 02:50 ------- > Tested on Fedora 8 x86_64 and it seems to be working properly. When you say the > done() method never gets called, does this include not seeing the "Done!" in > the textbox? It includes not seeing the task updates in the text box and also not seeing the final "Done!" message in the textbox. > Also, what does readlink -f `which javac` , readlink -f `which java` give you? /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/bin/javac A strange thing I observed is the program worked as expected a few times. There was no deterministic order of things which caused the program to work those times. The rest of times it just hung in an indefinite state forever. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 06:12:58 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 14:12:58 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #5 from jsumali at redhat.com 2007-12-11 14:12 ------- (In reply to comment #4) > > A strange thing I observed is the program worked as expected a few times. There > was no deterministic order of things which caused the program to work those > times. The rest of times it just hung in an indefinite state forever. > Yes, I've recently observed this behaviour too. The odd thing is though, it always runs without fail through eclipse's debugging mode, but sometimes hangs when run normally or via the command line. Enabling -verbose on the command line shows ... [Loaded javax.swing.SwingWorker$4 from /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/rt.jar] [Loaded javax.swing.SwingWorker$5 from /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/rt.jar] (then it freezes here) -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 06:39:47 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 14:39:47 +0000 Subject: [Bug 77] IcedTea b21 crashed on Ubuntu Gutsy / AMD64 and Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=77 ------- Comment #2 from langel at redhat.com 2007-12-11 14:39 ------- is this still a bug with b23? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Tue Dec 11 08:42:09 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 11 Dec 2007 16:42:09 +0000 Subject: changeset in /hg/icedtea: 2007-12-11 Lillian Angel changeset cbb4f402ba6a in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=cbb4f402ba6a description: 2007-12-11 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Fixed typo. * Makefile.in: Regenerate. diffstat: 3 files changed, 7 insertions(+), 2 deletions(-) ChangeLog | 5 +++++ Makefile.am | 2 +- Makefile.in | 2 +- diffs (36 lines): diff -r e383e1d1a614 -r cbb4f402ba6a ChangeLog --- a/ChangeLog Mon Dec 10 21:13:50 2007 -0500 +++ b/ChangeLog Tue Dec 11 11:40:54 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-10 Lillian Angel + + * Makefile.am (stamps/clone-ecj.stamp): Fixed typo. + * Makefile.in: Regenerate. + 2007-12-10 Lillian Angel * INSTALL: Updated important targets section. diff -r e383e1d1a614 -r cbb4f402ba6a Makefile.am --- a/Makefile.am Mon Dec 10 21:13:50 2007 -0500 +++ b/Makefile.am Tue Dec 11 11:40:54 2007 -0500 @@ -228,7 +228,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp - if ! test -d openjdk ; then \ + if ! test -d openjdk-ecj ; then \ if [ $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ diff -r e383e1d1a614 -r cbb4f402ba6a Makefile.in --- a/Makefile.in Mon Dec 10 21:13:50 2007 -0500 +++ b/Makefile.in Tue Dec 11 11:40:54 2007 -0500 @@ -729,7 +729,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp - if ! test -d openjdk ; then \ + if ! test -d openjdk-ecj ; then \ if [ $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ From langel at redhat.com Tue Dec 11 08:48:03 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 11 Dec 2007 16:48:03 +0000 Subject: changeset in /hg/icedtea: 2007-12-11 Lillian Angel changeset 6d67252885d0 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=6d67252885d0 description: 2007-12-11 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Added -n to test. (stamps/clone.stamp): Likewise. * Makefile.in: Regenerate. diffstat: 3 files changed, 11 insertions(+), 4 deletions(-) ChangeLog | 7 +++++++ Makefile.am | 4 ++-- Makefile.in | 4 ++-- diffs (56 lines): diff -r cbb4f402ba6a -r 6d67252885d0 ChangeLog --- a/ChangeLog Tue Dec 11 11:40:54 2007 -0500 +++ b/ChangeLog Tue Dec 11 11:46:52 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-11 Lillian Angel + + * Makefile.am + (stamps/clone-ecj.stamp): Added -n to test. + (stamps/clone.stamp): Likewise. + * Makefile.in: Regenerate. + 2007-12-11 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Fixed typo. diff -r cbb4f402ba6a -r 6d67252885d0 Makefile.am --- a/Makefile.am Tue Dec 11 11:40:54 2007 -0500 +++ b/Makefile.am Tue Dec 11 11:46:52 2007 -0500 @@ -125,7 +125,7 @@ endif stamps/clone.stamp: if ! test -d openjdk ; then \ - if [ $(OPENJDK_SRC_ZIP) ] ; then \ + if [ -n $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ @@ -229,7 +229,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; then \ - if [ $(OPENJDK_SRC_ZIP) ] ; \ + if [ -n $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ mv tmp-ecj/openjdk openjdk-ecj ; \ diff -r cbb4f402ba6a -r 6d67252885d0 Makefile.in --- a/Makefile.in Tue Dec 11 11:40:54 2007 -0500 +++ b/Makefile.in Tue Dec 11 11:46:52 2007 -0500 @@ -673,7 +673,7 @@ dist-openjdk: stamps/clone.stamp: if ! test -d openjdk ; then \ - if [ $(OPENJDK_SRC_ZIP) ] ; then \ + if [ -n $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ @@ -730,7 +730,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; then \ - if [ $(OPENJDK_SRC_ZIP) ] ; \ + if [ -n $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ mv tmp-ecj/openjdk openjdk-ecj ; \ From langel at redhat.com Tue Dec 11 08:56:29 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 11 Dec 2007 16:56:29 +0000 Subject: changeset in /hg/icedtea: 2007-12-11 Lillian Angel changeset bc75b89403c6 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=bc75b89403c6 description: 2007-12-11 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Added -z to test, instead of -n. (stamps/clone.stamp): Likewise. * Makefile.in: Regenerate. diffstat: 3 files changed, 5 insertions(+), 5 deletions(-) ChangeLog | 2 +- Makefile.am | 4 ++-- Makefile.in | 4 ++-- diffs (54 lines): diff -r 6d67252885d0 -r bc75b89403c6 ChangeLog --- a/ChangeLog Tue Dec 11 11:46:52 2007 -0500 +++ b/ChangeLog Tue Dec 11 11:55:17 2007 -0500 @@ -1,7 +1,7 @@ 2007-12-11 Lillian Angel * Makefile.am - (stamps/clone-ecj.stamp): Added -n to test. + (stamps/clone-ecj.stamp): Added -z to test, instead of -n. (stamps/clone.stamp): Likewise. * Makefile.in: Regenerate. diff -r 6d67252885d0 -r bc75b89403c6 Makefile.am --- a/Makefile.am Tue Dec 11 11:46:52 2007 -0500 +++ b/Makefile.am Tue Dec 11 11:55:17 2007 -0500 @@ -125,7 +125,7 @@ endif stamps/clone.stamp: if ! test -d openjdk ; then \ - if [ -n $(OPENJDK_SRC_ZIP) ] ; then \ + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ @@ -229,7 +229,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; then \ - if [ -n $(OPENJDK_SRC_ZIP) ] ; \ + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ mv tmp-ecj/openjdk openjdk-ecj ; \ diff -r 6d67252885d0 -r bc75b89403c6 Makefile.in --- a/Makefile.in Tue Dec 11 11:46:52 2007 -0500 +++ b/Makefile.in Tue Dec 11 11:55:17 2007 -0500 @@ -673,7 +673,7 @@ dist-openjdk: stamps/clone.stamp: if ! test -d openjdk ; then \ - if [ -n $(OPENJDK_SRC_ZIP) ] ; then \ + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) ; \ else \ hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk; \ @@ -730,7 +730,7 @@ clean-patch: # Extract OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/clone.stamp if ! test -d openjdk-ecj ; then \ - if [ -n $(OPENJDK_SRC_ZIP) ] ; \ + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ mv tmp-ecj/openjdk openjdk-ecj ; \ From langel at redhat.com Tue Dec 11 10:37:00 2007 From: langel at redhat.com (Lillian Angel) Date: Tue, 11 Dec 2007 18:37:00 +0000 Subject: changeset in /hg/icedtea: 2007-12-11 Lillian Angel changeset f7af1e676129 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=f7af1e676129 description: 2007-12-11 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Fixed to copy over openjdk dir instead of cloning again, or unzip sources specified. (stamps/patch-ecj.stamp): Only apply ecj patch, assuming all other patches have already been applied to the openjdk sources. * Makefile.in: Regenerate. diffstat: 3 files changed, 19 insertions(+), 26 deletions(-) ChangeLog | 9 +++++++++ Makefile.am | 18 +++++------------- Makefile.in | 18 +++++------------- diffs (100 lines): diff -r bc75b89403c6 -r f7af1e676129 ChangeLog --- a/ChangeLog Tue Dec 11 11:55:17 2007 -0500 +++ b/ChangeLog Tue Dec 11 13:35:48 2007 -0500 @@ -1,3 +1,12 @@ 2007-12-11 Lillian Angel + + * Makefile.am + (stamps/clone-ecj.stamp): Fixed to copy over openjdk dir instead of + cloning again, or unzip sources specified. + (stamps/patch-ecj.stamp): Only apply ecj patch, assuming all other + patches have already been applied to the openjdk sources. + * Makefile.in: Regenerate. + 2007-12-11 Lillian Angel * Makefile.am diff -r bc75b89403c6 -r f7af1e676129 Makefile.am --- a/Makefile.am Tue Dec 11 11:55:17 2007 -0500 +++ b/Makefile.am Tue Dec 11 13:35:48 2007 -0500 @@ -227,17 +227,18 @@ clean-patch: # ====================================== # Extract OpenJDK sources for ecj. -stamps/clone-ecj.stamp: stamps/clone.stamp +stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ + mkdir -p tmp-ecj ; \ if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ - mv tmp-ecj/openjdk openjdk-ecj ; \ - rmdir tmp-ecj; \ else \ - hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-ecj; \ + cp -a openjdk tmp-ecj; \ fi ; \ fi + mv tmp-ecj/openjdk openjdk-ecj + rmdir tmp-ecj chmod -R ug+w openjdk-ecj mkdir -p stamps touch stamps/clone-ecj.stamp @@ -262,15 +263,6 @@ ICEDTEA_ECJ_PATCH = patches/icedtea-ecj. ICEDTEA_ECJ_PATCH = patches/icedtea-ecj.patch stamps/patch-ecj.stamp: stamps/clone-ecj.stamp - for p in $(ICEDTEA_PATCHES) ; \ - do \ - echo Checking $$p ; \ - if $(PATCH) -l -p1 -d openjdk-ecj --dry-run -s -t -f -F 0 < $$p ; \ - then \ - echo Applying $$p ; \ - $(PATCH) -l -p1 -d openjdk-ecj < $$p ; \ - fi ; \ - done echo Checking $(ICEDTEA_ECJ_PATCH) ; \ if $(PATCH) -p0 -l --dry-run -s -t -f < $(ICEDTEA_ECJ_PATCH) ; \ then \ diff -r bc75b89403c6 -r f7af1e676129 Makefile.in --- a/Makefile.in Tue Dec 11 11:55:17 2007 -0500 +++ b/Makefile.in Tue Dec 11 13:35:48 2007 -0500 @@ -728,17 +728,18 @@ clean-patch: # ====================================== # Extract OpenJDK sources for ecj. -stamps/clone-ecj.stamp: stamps/clone.stamp +stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ + mkdir -p tmp-ecj ; \ if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ then \ $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ - mv tmp-ecj/openjdk openjdk-ecj ; \ - rmdir tmp-ecj; \ else \ - hg fclone -r jdk7-$(OPENJDK_VERSION) $(OPENJDK_URL) openjdk-ecj; \ + cp -a openjdk tmp-ecj; \ fi ; \ fi + mv tmp-ecj/openjdk openjdk-ecj + rmdir tmp-ecj chmod -R ug+w openjdk-ecj mkdir -p stamps touch stamps/clone-ecj.stamp @@ -760,15 +761,6 @@ stamps/ports-ecj.stamp: stamps/clone-ecj touch stamps/ports-ecj.stamp stamps/patch-ecj.stamp: stamps/clone-ecj.stamp - for p in $(ICEDTEA_PATCHES) ; \ - do \ - echo Checking $$p ; \ - if $(PATCH) -l -p1 -d openjdk-ecj --dry-run -s -t -f -F 0 < $$p ; \ - then \ - echo Applying $$p ; \ - $(PATCH) -l -p1 -d openjdk-ecj < $$p ; \ - fi ; \ - done echo Checking $(ICEDTEA_ECJ_PATCH) ; \ if $(PATCH) -p0 -l --dry-run -s -t -f < $(ICEDTEA_ECJ_PATCH) ; \ then \ From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 12:03:59 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 20:03:59 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #6 from fkung at redhat.com 2007-12-11 20:03 ------- When the application is hanging, type Ctrl-\ (control backslash) in the console - that should give you a lot of run-time information... in particular, the thread dump will be useful here to find where it is hanging. Can you try that and paste/attach the stacktraces from all the threads? Thanks. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 12:12:47 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 20:12:47 +0000 Subject: [Bug 77] IcedTea b21 crashed on Ubuntu Gutsy / AMD64 and Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=77 ------- Comment #3 from ludovic.claude at laposte.net 2007-12-11 20:12 ------- I don't know, can you make b23 available as a .deb archive or make it available in the Ubuntu repository? I'm a 'pure' Java developer, building native software on Ubuntu without clear instructions is beyond my capabilities ;-) -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 14:56:47 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Tue, 11 Dec 2007 22:56:47 +0000 Subject: [Bug 77] IcedTea b21 crashed on Ubuntu Gutsy / AMD64 and Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=77 ------- Comment #4 from doko at ubuntu.com 2007-12-11 22:56 ------- it's still in b23, if you do build the jdk with -O3. the b23 packages are available in the hardy development release. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Tue Dec 11 17:24:33 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 12 Dec 2007 01:24:33 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #7 from mjrz.net at gmail.com 2007-12-12 01:24 ------- (In reply to comment #6) > When the application is hanging, type Ctrl-\ (control backslash) in the console > - that should give you a lot of run-time information... in particular, the > thread dump will be useful here to find where it is hanging. Can you try that > and paste/attach the stacktraces from all the threads? Thanks. > 2007-12-11 20:23:31 Full thread dump IcedTea 64-Bit Server VM (1.7.0-b21 mixed mode): "DestroyJavaVM" prio=10 tid=0x0000000000608400 nid=0xea3 waiting on condition [0x0000000000000000..0x00000000400ffcb0] java.lang.Thread.State: RUNNABLE "AWT-EventQueue-0" prio=10 tid=0x0000000000e0dc00 nid=0xeb3 in Object.wait() [0x0000000040e0c000..0x0000000040e0ca10] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00002aaaaf203158> (a java.awt.EventQueue) at java.lang.Object.wait(Object.java:503) at java.awt.EventQueue.getNextEvent(EventQueue.java:485) - locked <0x00002aaaaf203158> (a java.awt.EventQueue) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:248) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.run(EventDispatchThread.java:139) "AWT-Shutdown" prio=10 tid=0x0000000000e0c800 nid=0xeb2 in Object.wait() [0x0000000040d0b000..0x0000000040d0ba90] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00002aaaaf203360> (a java.lang.Object) at java.lang.Object.wait(Object.java:503) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:281) - locked <0x00002aaaaf203360> (a java.lang.Object) at java.lang.Thread.run(Thread.java:675) "AWT-XAWT" daemon prio=10 tid=0x0000000000989400 nid=0xead runnable [0x0000000040b09000..0x0000000040b09c10] java.lang.Thread.State: RUNNABLE at sun.awt.X11.XToolkit.waitForEvents(Native Method) at sun.awt.X11.XToolkit.run(XToolkit.java:550) at sun.awt.X11.XToolkit.run(XToolkit.java:525) at java.lang.Thread.run(Thread.java:675) "Java2D Disposer" daemon prio=10 tid=0x000000000077c000 nid=0xeac in Object.wait() [0x0000000040a08000..0x0000000040a08c90] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00002aaabce721f8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) - locked <0x00002aaabce721f8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150) at sun.java2d.Disposer.run(Disposer.java:143) at java.lang.Thread.run(Thread.java:675) "Low Memory Detector" daemon prio=10 tid=0x00000000006a5c00 nid=0xeaa runnable [0x0000000000000000..0x0000000000000000] java.lang.Thread.State: RUNNABLE "CompilerThread1" daemon prio=10 tid=0x00000000006a3800 nid=0xea9 waiting on condition [0x0000000000000000..0x0000000040704320] java.lang.Thread.State: RUNNABLE "CompilerThread0" daemon prio=10 tid=0x000000000069fc00 nid=0xea8 waiting on condition [0x0000000000000000..0x00000000406033a0] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" daemon prio=10 tid=0x000000000069e000 nid=0xea7 runnable [0x0000000000000000..0x0000000000000000] java.lang.Thread.State: RUNNABLE "Finalizer" daemon prio=10 tid=0x000000000067c800 nid=0xea6 in Object.wait() [0x0000000040402000..0x0000000040402d90] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00002aaabce72588> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134) - locked <0x00002aaabce72588> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177) "Reference Handler" daemon prio=10 tid=0x0000000000675800 nid=0xea5 in Object.wait() [0x0000000040301000..0x0000000040301c10] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on <0x00002aaabce72130> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:503) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:134) - locked <0x00002aaabce72130> (a java.lang.ref.Reference$Lock) "VM Thread" prio=10 tid=0x0000000000670000 nid=0xea4 runnable "VM Periodic Task Thread" prio=10 tid=0x00000000006a8400 nid=0xeab waiting on condition JNI global references: 752 Heap def new generation total 2368K, used 897K [0x00002aaaaeff0000, 0x00002aaaaf280000, 0x00002aaabcdf0000) eden space 2112K, 30% used [0x00002aaaaeff0000, 0x00002aaaaf0904d8, 0x00002aaaaf200000) from space 256K, 100% used [0x00002aaaaf200000, 0x00002aaaaf240000, 0x00002aaaaf240000) to space 256K, 0% used [0x00002aaaaf240000, 0x00002aaaaf240000, 0x00002aaaaf280000) tenured generation total 5312K, used 1204K [0x00002aaabcdf0000, 0x00002aaabd320000, 0x00002aaad89f0000) the space 5312K, 22% used [0x00002aaabcdf0000, 0x00002aaabcf1d0d8, 0x00002aaabcf1d200, 0x00002aaabd320000) compacting perm gen total 21248K, used 14975K [0x00002aaad89f0000, 0x00002aaad9eb0000, 0x00002aaae31f0000) the space 21248K, 70% used [0x00002aaad89f0000, 0x00002aaad988fe00, 0x00002aaad988fe00, 0x00002aaad9eb0000) No shared spaces configured. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Wed Dec 12 06:08:41 2007 From: langel at redhat.com (Lillian Angel) Date: Wed, 12 Dec 2007 14:08:41 +0000 Subject: changeset in /hg/icedtea: 2007-12-12 Lillian Angel changeset d05fb0921b81 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=d05fb0921b81 description: 2007-12-12 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Removed extraction of openjdk sources. Now only copies over openjdk dir. * Makefile.in: Regenerate. diffstat: 3 files changed, 12 insertions(+), 23 deletions(-) ChangeLog | 7 +++++++ Makefile.am | 15 +++------------ Makefile.in | 13 ++----------- diffs (67 lines): diff -r f7af1e676129 -r d05fb0921b81 ChangeLog --- a/ChangeLog Tue Dec 11 13:35:48 2007 -0500 +++ b/ChangeLog Wed Dec 12 09:07:38 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-11 Lillian Angel + + * Makefile.am + (stamps/clone-ecj.stamp): Removed extraction of openjdk sources. Now + only copies over openjdk dir. + * Makefile.in: Regenerate. + 2007-12-11 Lillian Angel * Makefile.am diff -r f7af1e676129 -r d05fb0921b81 Makefile.am --- a/Makefile.am Tue Dec 11 13:35:48 2007 -0500 +++ b/Makefile.am Wed Dec 12 09:07:38 2007 -0500 @@ -226,20 +226,11 @@ clean-patch: # OpenJDK ecj Source Preparation Targets # ====================================== -# Extract OpenJDK sources for ecj. +# Copy over OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ - mkdir -p tmp-ecj ; \ - if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ - then \ - $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ - else \ - cp -a openjdk tmp-ecj; \ - fi ; \ - fi - mv tmp-ecj/openjdk openjdk-ecj - rmdir tmp-ecj - chmod -R ug+w openjdk-ecj + cp -a openjdk openjdk-ecj ; \ + fi mkdir -p stamps touch stamps/clone-ecj.stamp diff -r f7af1e676129 -r d05fb0921b81 Makefile.in --- a/Makefile.in Tue Dec 11 13:35:48 2007 -0500 +++ b/Makefile.in Wed Dec 12 09:07:38 2007 -0500 @@ -727,20 +727,11 @@ clean-patch: # OpenJDK ecj Source Preparation Targets # ====================================== -# Extract OpenJDK sources for ecj. +# Copy over OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ - mkdir -p tmp-ecj ; \ - if [ ! -z $(OPENJDK_SRC_ZIP) ] ; \ - then \ - $(UNZIP) -q $(OPENJDK_SRC_ZIP) -d tmp-ecj; \ - else \ - cp -a openjdk tmp-ecj; \ - fi ; \ + cp -a openjdk openjdk-ecj ; \ fi - mv tmp-ecj/openjdk openjdk-ecj - rmdir tmp-ecj - chmod -R ug+w openjdk-ecj mkdir -p stamps touch stamps/clone-ecj.stamp From langel at redhat.com Wed Dec 12 06:11:14 2007 From: langel at redhat.com (Lillian Angel) Date: Wed, 12 Dec 2007 14:11:14 +0000 Subject: changeset in /hg/icedtea: 2007-12-12 Lillian Angel changeset f34b275e76cd in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=f34b275e76cd description: 2007-12-12 Lillian Angel * Makefile.am (clean-patch-ecj): Removed unpatching of ICEDTEA_PATCHES, only ICEDTEA_ECJ_PATCH should be removed. * Makefile.in: Regenerate. diffstat: 3 files changed, 7 insertions(+), 18 deletions(-) ChangeLog | 7 +++++++ Makefile.am | 9 --------- Makefile.in | 9 --------- diffs (52 lines): diff -r d05fb0921b81 -r f34b275e76cd ChangeLog --- a/ChangeLog Wed Dec 12 09:07:38 2007 -0500 +++ b/ChangeLog Wed Dec 12 09:10:13 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-12 Lillian Angel + + * Makefile.am + (clean-patch-ecj): Removed unpatching of ICEDTEA_PATCHES, only + ICEDTEA_ECJ_PATCH should be removed. + * Makefile.in: Regenerate. + 2007-12-12 Lillian Angel * Makefile.am diff -r d05fb0921b81 -r f34b275e76cd Makefile.am --- a/Makefile.am Wed Dec 12 09:07:38 2007 -0500 +++ b/Makefile.am Wed Dec 12 09:10:13 2007 -0500 @@ -271,15 +271,6 @@ clean-patch-ecj: echo Reverting $(ICEDTEA_ECJ_PATCH) ; \ $(PATCH) -p0 -l -R < $(ICEDTEA_ECJ_PATCH) ; \ fi - for p in $(ICEDTEA_PATCHES) ; \ - do \ - echo Checking $$p ; \ - if $(PATCH) -p1 -l -d openjdk-ecj -R --dry-run -s -t -f < $$p ; \ - then \ - echo Reverting $$p ; \ - $(PATCH) -p1 -l -d openjdk-ecj -R < $$p ; \ - fi ; \ - done # Bootstrap Directory Targets # =========================== diff -r d05fb0921b81 -r f34b275e76cd Makefile.in --- a/Makefile.in Wed Dec 12 09:07:38 2007 -0500 +++ b/Makefile.in Wed Dec 12 09:10:13 2007 -0500 @@ -769,15 +769,6 @@ clean-patch-ecj: echo Reverting $(ICEDTEA_ECJ_PATCH) ; \ $(PATCH) -p0 -l -R < $(ICEDTEA_ECJ_PATCH) ; \ fi - for p in $(ICEDTEA_PATCHES) ; \ - do \ - echo Checking $$p ; \ - if $(PATCH) -p1 -l -d openjdk-ecj -R --dry-run -s -t -f < $$p ; \ - then \ - echo Reverting $$p ; \ - $(PATCH) -p1 -l -d openjdk-ecj -R < $$p ; \ - fi ; \ - done # Bootstrap Directory Targets # =========================== From linuxhippy at gmail.com Wed Dec 12 06:40:31 2007 From: linuxhippy at gmail.com (Clemens Eisserer) Date: Wed, 12 Dec 2007 15:40:31 +0100 Subject: Building IcedTea without mozilla-plugin Message-ID: <194f62550712120640l27e241b1r83e0e8e43661c935@mail.gmail.com> Hello, I thought about giving IcedTea a try because last time I played with jdk7's source it took me a day to get it building. It would be great if somebody could help me a bit answering my questions: 1.) Will IcedTea also work on FC7 with latest updates? Is there a possibility to use an existing jdk5,6,7 installation instead of GCJ? 2.) Is it possible to not build the mozilla dependent parts? 3.) Does IcedTea use Sun's Graphics2D implementation? I don't care about ductus beeing there, but I would like to play with Sun's X11 pipeline. Thank you in advance, lg Clemens From bugzilla-daemon at icedtea.classpath.org Wed Dec 12 06:42:56 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Wed, 12 Dec 2007 14:42:56 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 ------- Comment #8 from jsumali at redhat.com 2007-12-12 14:42 ------- I've noticed that when this swingworker example does work, a TimerQueue is present . A thread dump shows: "TimerQueue" daemon prio=10 tid=0x0000000000c64800 nid=0x23df waiting on condition [0x000000004110f000..0x000000004110fd10] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00002aaaced627e0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1974) at java.util.concurrent.DelayQueue.take(DelayQueue.java:189) at javax.swing.TimerQueue.run(TimerQueue.java:171) at java.lang.Thread.run(Thread.java:675) which is absent when it's in the locked up state. It may be the following bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6623943 -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From gbenson at redhat.com Wed Dec 12 07:41:50 2007 From: gbenson at redhat.com (Gary Benson) Date: Wed, 12 Dec 2007 15:41:50 +0000 Subject: changeset in /hg/icedtea: 2007-12-12 Gary Benson changeset b2f47e545447 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=b2f47e545447 description: 2007-12-12 Gary Benson * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp (mpclr): New method. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp (mpclr): Likewise. * ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp (set_last_Java_frame): Use the above. diffstat: 4 files changed, 17 insertions(+), 1 deletion(-) ChangeLog | 9 +++++++++ ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 6 ++++++ ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 1 + ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp | 2 +- diffs (55 lines): diff -r f34b275e76cd -r b2f47e545447 ChangeLog --- a/ChangeLog Wed Dec 12 09:10:13 2007 -0500 +++ b/ChangeLog Wed Dec 12 10:41:44 2007 -0500 @@ -1,3 +1,12 @@ 2007-12-12 Lillian Angel + + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp + (mpclr): New method. + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp + (mpclr): Likewise. + * ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp + (set_last_Java_frame): Use the above. + 2007-12-12 Lillian Angel * Makefile.am diff -r f34b275e76cd -r b2f47e545447 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Wed Dec 12 09:10:13 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Wed Dec 12 10:41:44 2007 -0500 @@ -971,6 +971,12 @@ void MacroAssembler::lwax(Register dst, extsw(dst, dst); #endif } +void MacroAssembler::mpclr() +{ + // move pc to lr + // 20, 31 is a magic branch that preserves the link stack + bcl(20, 31, pc() + 4); +} // Operations which are different on PPC32/64 diff -r f34b275e76cd -r b2f47e545447 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Wed Dec 12 09:10:13 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Wed Dec 12 10:41:44 2007 -0500 @@ -375,6 +375,7 @@ class MacroAssembler : public Assembler void lhax(Register dst, Register a, Register b); void lwa(Register dst, const Address& src); void lwax(Register dst, Register a, Register b); + void mpclr(); // Operations which are different on PPC32/64 void call(address addr); diff -r f34b275e76cd -r b2f47e545447 ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp Wed Dec 12 09:10:13 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/interp_masm_ppc.cpp Wed Dec 12 10:41:44 2007 -0500 @@ -65,7 +65,7 @@ void InterpreterMacroAssembler::set_last if (lr_save->is_valid()) mflr(lr_save); - bcl(20, 31, pc() + 4); // magic branch that preserves the link stack + mpclr(); mflr(r0); store(r0, Address(Rthread, JavaThread::last_Java_pc_offset())); store(r1, Address(Rthread, JavaThread::last_Java_sp_offset())); From gbenson at redhat.com Wed Dec 12 07:44:59 2007 From: gbenson at redhat.com (Gary Benson) Date: Wed, 12 Dec 2007 15:44:59 +0000 Subject: changeset in /hg/icedtea: 2007-12-12 Gary Benson changeset 5e6aacdf3f50 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=5e6aacdf3f50 description: 2007-12-12 Gary Benson * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp (decode): Implement. * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp (decode): Likewise. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp (disassemble): Remove. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp (disassemble): Likewise. diffstat: 5 files changed, 703 insertions(+), 58 deletions(-) ChangeLog | 11 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 39 - ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 5 ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp | 686 +++++++++++++++++++++ ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp | 20 diffs (truncated from 804 to 500 lines): diff -r b2f47e545447 -r 5e6aacdf3f50 ChangeLog --- a/ChangeLog Wed Dec 12 10:41:44 2007 -0500 +++ b/ChangeLog Wed Dec 12 10:44:53 2007 -0500 @@ -1,3 +1,14 @@ 2007-12-12 Gary Benson + + * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp + (decode): Implement. + * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp + (decode): Likewise. + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp + (disassemble): Remove. + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp + (disassemble): Likewise. + 2007-12-12 Gary Benson * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp diff -r b2f47e545447 -r 5e6aacdf3f50 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Wed Dec 12 10:41:44 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Wed Dec 12 10:44:53 2007 -0500 @@ -649,49 +649,10 @@ void Assembler::pd_patch_instruction(add } #ifndef PRODUCT - void Assembler::pd_print_patched_instruction(address branch) { Unimplemented(); } - -void Assembler::disassemble(const char *what, address start, address end) -{ - const char *fmt = "/tmp/aztec-%d.%c"; - char c_file[BUFSIZ], o_file[BUFSIZ]; - sprintf(c_file, fmt, getpid(), 'c'); - sprintf(o_file, fmt, getpid(), 'o'); - - FILE *fp = fopen(c_file, "w"); - if (fp == NULL) - fatal2("%s:%d: can't write file", __FILE__, __LINE__); - - fputs("unsigned char start[] = {", fp); - for (address a = start; a < end; a++) { - if (a != start) - fputc(',', fp); - fprintf(fp, "0x%02x", *a); - } - fputs("};\n", fp); - fclose(fp); - - char cmd[BUFSIZ]; - sprintf(cmd, "gcc -m%d -c %s -o %s", wordSize * 8, c_file, o_file); - if (system(cmd) != 0) - fatal2("%s:%d: can't compile file", __FILE__, __LINE__); - - printf("%s: %p-%p:\n", what, start, end); - fflush(stdout); - sprintf(cmd, "objdump -D -j .data %s | grep '^....:'", o_file); - if (system(cmd) != 0) - fatal2("%s:%d: can't disassemble file", __FILE__, __LINE__); - putchar('\n'); - fflush(stdout); - - unlink(c_file); - unlink(o_file); -} - #endif // PRODUCT // 32-bit ABI: diff -r b2f47e545447 -r 5e6aacdf3f50 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Wed Dec 12 10:41:44 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Wed Dec 12 10:44:53 2007 -0500 @@ -231,11 +231,6 @@ class Assembler : public AbstractAssembl #ifndef PRODUCT static void pd_print_patched_instruction(address branch); #endif // PRODUCT - - // Disassemble a region of memory to stdout -#ifndef PRODUCT - static void disassemble(const char *what, address start, address end); -#endif // PRODUCT }; diff -r b2f47e545447 -r 5e6aacdf3f50 ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp Wed Dec 12 10:41:44 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp Wed Dec 12 10:44:53 2007 -0500 @@ -0,0 +1,686 @@ +/* + * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 2007 Red Hat, Inc. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, + * CA 95054 USA or visit www.sun.com if you need additional information or + * have any questions. + * + */ + +#include "incls/_precompiled.incl" +#include "incls/_disassembler_ppc.cpp.incl" + +#ifndef PRODUCT +class InstructionParser { + private: + intptr_t _addr; + int _instruction; + int _bits; + + public: + InstructionParser(address addr) + : _addr((intptr_t) addr), + _instruction(*(int *) addr), + _bits(26) {} + + intptr_t pc() const { + return _addr; + } + + int instruction() const { + return _instruction; + } + + int opcode() const { + return (_instruction >> 26) & 0x3f; + } + + int extended_opcode() const { + switch(opcode()) { + case 19: + case 31: + case 63: + return (_instruction >> 1) & 0x3ff; + + case 30: + return (_instruction >> 2) & 7; + + case 58: + case 62: + return _instruction & 3; + + default: + return -1; + } + } + + int read(int nbits) { + _bits -= nbits; + assert(_bits >= 0, "oops"); + return (_instruction >> _bits) & ((1 << nbits) - 1); + } + + int read_signed(int nbits) { + int v = read(nbits); + if (v & (1 << (nbits - 1))) + v |= ~((1 << nbits) - 1); + return v; + } + + int read_reg() { + return read(5); + } + + int read_xo() { + int xo = read(10); + assert(xo == extended_opcode(), "should be"); + return xo; + } +}; + +class InstructionDefinition { + public: + typedef void (*printer_t)(InstructionParser& p, + const InstructionDefinition& d, + outputStream *st); + private: + int _opcode; + int _xo; + const char *_mnemonic; + printer_t _printer; + + public: + InstructionDefinition(int opcode, const char *mn, printer_t p) + : _opcode(opcode), _xo(-1), _mnemonic(mn), _printer(p) {} + + InstructionDefinition(int opcode, int xo, const char *mn, printer_t p) + : _opcode(opcode), _xo(xo), _mnemonic(mn), _printer(p) {} + + int opcode() const { + return _opcode; + } + + int extended_opcode() const { + return _xo; + } + + const char *mnemonic() const { + return _mnemonic; + } + + const printer_t printer() const { + return _printer; + } +}; + +#define CONDITION(BO, BI) (((BO) << 2) | ((BI) & 3)) +const char *branch_condition(int BO, int BI) +{ + switch (CONDITION(BO, BI)) { + case CONDITION(12, 0): + return "lt"; + + case CONDITION(4, 1): + return "le"; + + case CONDITION(12, 2): + return "eq"; + + case CONDITION(4, 0): + return "ge"; + + case CONDITION(12, 1): + return "gt"; + + case CONDITION(4, 2): + return "ne"; + + case CONDITION(16, 0): + return "dnz"; + + case CONDITION(20, 0): + return ""; + + default: + tty->print_cr("BO = %d, BI = %d", BO, BI & 3); + ShouldNotReachHere(); + } +} +#undef CONDITION + +#define INSTRUCTION_PRINTER(name) \ + static void name(InstructionParser& p, \ + const InstructionDefinition& d, \ + outputStream *st) + +// Instruction printers + +INSTRUCTION_PRINTER(print_B_bc) +{ + assert(p.opcode() == 16, "should be"); + + int BO = p.read(5); + int BI = p.read(5); + int BD = p.read_signed(14); + int AA = p.read(1); + int LK = p.read(1); + + if (BO == 20) { + if (BI == 31 && BD == 1 && AA == 0 && LK == 1) { + st->print("mpclr"); + return; + } + st->print_cr("BO = %d, BI = %d", BO, BI & 3); + ShouldNotReachHere(); + } + + const char *cond = branch_condition(BO, BI); + int cr = BI >> 2; + address tgt = (address) (p.pc() + (BD << 2)); + + if (cr) + st->print("b%s%s%s cr%d, %p", cond, LK ? "l" : "", AA ? "a" : "", cr, tgt); + else + st->print("b%s%s%s %p", cond, LK ? "l" : "", AA ? "a" : "", tgt); +} + +INSTRUCTION_PRINTER(print_I_b) +{ + assert(p.opcode() == 18, "should be"); + + int LI = p.read_signed(24); + int AA = p.read(1); + int LK = p.read(1); + + address tgt = (address) (p.pc() + (LI << 2)); + + st->print("b%s%s %p", LK ? "l" : "", AA ? "a" : "", tgt); +} + +INSTRUCTION_PRINTER(print_D_reg_reg_simm) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int SI = p.read_signed(16); + + if (RA == 0) { + switch (p.opcode()) { + case 14: + st->print("li r%d, %d", RT, SI); + return; + + case 15: + st->print("lis r%d, %d", RT, SI); + return; + } + } + + const char *mnemonic = d.mnemonic(); + if (p.opcode() == 14 && SI < 0) { + mnemonic = "subi"; + SI = -SI; + } + + st->print("%s r%d, %s%d, %d", mnemonic, RT, RA ? "r" : "", RA, SI); +} + +INSTRUCTION_PRINTER(print_D_reg_reg_uimm) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int UI = p.read(16); + + if (p.opcode() == 24 && RT == 0 && RA == 0 && UI == 0) + st->print("nop"); + else + st->print("%s r%d, r%d, %d", d.mnemonic(), RA, RT, UI); +} + +INSTRUCTION_PRINTER(print_D_reg_addr) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int D = p.read_signed(16); + + st->print("%s r%d, %d(%s%d)", d.mnemonic(), RT, D, RA ? "r" : "", RA); +} + +INSTRUCTION_PRINTER(print_D_freg_addr) +{ + int FRT = p.read_reg(); + int RA = p.read_reg(); + int D = p.read_signed(16); + + st->print("%s f%d, %d(%s%d)", d.mnemonic(), FRT, D, RA ? "r" : "", RA); +} + +INSTRUCTION_PRINTER(print_DS_reg_addr) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int DS = p.read_signed(14); + + st->print("%s r%d, %d(%s%d)", d.mnemonic(), RT, DS << 2, RA ? "r" : "", RA); +} + +INSTRUCTION_PRINTER(print_X_bcspr) +{ + assert(p.opcode() == 19, "should be"); + + int BO = p.read(5); + int BI = p.read(5); + int x1 = p.read(5); + int xo = p.read_xo(); + int LK = p.read(1); + + assert(x1 == 0, "should do"); + + const char *cond = branch_condition(BO, BI); + const char *spr; + switch (xo) { + case 16: + spr = "lr"; + break; + + case 528: + spr = "ctr"; + break; + + default: + st->print_cr("xo = %d", xo); + ShouldNotReachHere(); + } + + st->print("b%s%s%s", cond, spr, LK ? "l" : ""); +} + +INSTRUCTION_PRINTER(print_M) +{ + assert(p.opcode() == 21, "should be"); + + int RS = p.read_reg(); + int RA = p.read_reg(); + int SH = p.read(5); + int MB = p.read(5); + int ME = p.read(5); + int Rc = p.read(1); + + if (MB == 0 && 31 - SH == ME) + st->print("slwi%s r%d, r%d, %d", Rc ? "." : "", RA, RS, SH); + else if (ME == 31 && 32 - MB == SH) + st->print("srwi%s r%d, r%d, %d", Rc ? "." : "", RA, RS, MB); + else + ShouldNotReachHere(); +} + +INSTRUCTION_PRINTER(print_MD) +{ + assert(p.opcode() == 30, "should be"); + + int RS = p.read_reg(); + int RA = p.read_reg(); + int shl = p.read(5); + int mel = p.read(5); + int meh = p.read(1); + int xo = p.read(3); + int shh = p.read(1); + int Rc = p.read(1); + + int SH = shh << 5 | shl; + int ME = meh << 5 | mel; + + if (xo == 0) { + if (SH = 64 - ME) + st->print("srdi%s r%d, r%d, %d", Rc ? "." : "", RA, RS, ME); + else + ShouldNotReachHere(); + } + else if (xo == 1) { + if (ME == 63 - SH) + st->print("sldi%s r%d, r%d, %d", Rc ? "." : "", RA, RS, SH); + else + ShouldNotReachHere(); + } + else + ShouldNotReachHere(); +} + +INSTRUCTION_PRINTER(print_X_reg_reg_reg) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int RB = p.read_reg(); + int xo = p.read_xo(); + int Rc = p.read(1); + + const char *mnemonic = d.mnemonic(); + if (xo == 40) { + mnemonic = "sub"; + int s = RA; + RA = RB; + RB = s; + } + + st->print("%s%s r%d, r%d, r%d", mnemonic, Rc ? "." : "", RT, RA, RB); +} + +INSTRUCTION_PRINTER(print_X_reg_regorzero_reg) +{ + int RT = p.read_reg(); + int RA = p.read_reg(); + int RB = p.read_reg(); + int xo = p.read_xo(); + int Rc = p.read(1); + + const char *mnemonic = d.mnemonic(); + if (xo == 40) { + mnemonic = "sub"; + int s = RA; + RA = RB; + RB = s; + } + + st->print("%s%s r%d, %s%d, r%d", mnemonic, Rc ? "." : "", RT, + RA ? "r" : "", RA, RB); +} + +INSTRUCTION_PRINTER(print_X_res_regorzero_reg) +{ + int x1 = p.read_reg(); + int RA = p.read_reg(); + int RB = p.read_reg(); + int xo = p.read_xo(); + int Rc = p.read(1); + From langel at redhat.com Wed Dec 12 07:58:38 2007 From: langel at redhat.com (Lillian Angel) Date: Wed, 12 Dec 2007 15:58:38 +0000 Subject: changeset in /hg/icedtea: 2007-12-12 Lillian Angel changeset 208a6277eb21 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=208a6277eb21 description: 2007-12-12 Lillian Angel Fixes Bug #76 * gcjwebplugin.cc (GCJ_SetWindow): Passes width and height with handle. * patches/icedtea-plugin.patch (PluginMain.java): Fixed to accept width and height, and change size of plugin when required. (PluginAppletViewer.java): Added listeners to window, change attributes of applet when required. diffstat: 3 files changed, 116 insertions(+), 36 deletions(-) ChangeLog | 11 +++ gcjwebplugin.cc | 6 + patches/icedtea-plugin.patch | 135 +++++++++++++++++++++++++++++++----------- diffs (270 lines): diff -r 5e6aacdf3f50 -r 208a6277eb21 ChangeLog --- a/ChangeLog Wed Dec 12 10:44:53 2007 -0500 +++ b/ChangeLog Wed Dec 12 10:57:37 2007 -0500 @@ -1,3 +1,14 @@ 2007-12-12 Gary Benson + + Fixes Bug #76 + * gcjwebplugin.cc + (GCJ_SetWindow): Passes width and height with handle. + * patches/icedtea-plugin.patch + (PluginMain.java): Fixed to accept width and height, and change size + of plugin when required. + (PluginAppletViewer.java): Added listeners to window, change + attributes of applet when required. + 2007-12-12 Gary Benson * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.hpp diff -r 5e6aacdf3f50 -r 208a6277eb21 gcjwebplugin.cc --- a/gcjwebplugin.cc Wed Dec 12 10:44:53 2007 -0500 +++ b/gcjwebplugin.cc Wed Dec 12 10:57:37 2007 -0500 @@ -687,8 +687,10 @@ GCJ_SetWindow (NPP instance, NPWindow* w g_mutex_lock (data->appletviewer_mutex); plugin_send_message_to_appletviewer (data, data->instance_string); - gchar *window_message = g_strdup_printf ("handle %ld", - (gulong) window->window); + gchar *window_message = g_strdup_printf ("handle %ld width %d height %d", + (gulong) window->window, + window->width, + window->height); plugin_send_message_to_appletviewer (data, window_message); g_free (window_message); window_message = NULL; diff -r 5e6aacdf3f50 -r 208a6277eb21 patches/icedtea-plugin.patch --- a/patches/icedtea-plugin.patch Wed Dec 12 10:44:53 2007 -0500 +++ b/patches/icedtea-plugin.patch Wed Dec 12 10:57:37 2007 -0500 @@ -66,10 +66,10 @@ diff -urN openjdk.orig/jdk/make/sun/plug +JAVA_ARGS = "{ \"sun.applet.PluginMain\" }" +include $(BUILDDIR)/common/Program.gmk + -diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/PluginAppletViewer.java openjdk/jdk/src/share/classes/sun/applet/PluginAppletViewer.java +diff -ruN openjdk.orig/jdk/src/share/classes/sun/applet/PluginAppletViewer.java openjdk/jdk/src/share/classes/sun/applet/PluginAppletViewer.java --- openjdk.orig/jdk/src/share/classes/sun/applet/PluginAppletViewer.java 1969-12-31 19:00:00.000000000 -0500 -+++ openjdk/jdk/src/share/classes/sun/applet/PluginAppletViewer.java 2007-10-12 17:37:54.000000000 -0400 -@@ -0,0 +1,945 @@ ++++ openjdk/jdk/src/share/classes/sun/applet/PluginAppletViewer.java 2007-12-12 10:37:26.000000000 -0500 +@@ -0,0 +1,1000 @@ +/* + * Copyright 1995-2004 Sun Microsystems, Inc. All Rights Reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -165,7 +165,6 @@ diff -urN openjdk.orig/jdk/src/share/cla + * For cloning + */ + PluginAppletViewerFactory factory; -+ + + /** + * Create the applet viewer @@ -248,7 +247,57 @@ diff -urN openjdk.orig/jdk/src/share/cla + } + }; + ++ ComponentListener componentListener = new ComponentAdapter() { ++ public void componentResized(ComponentEvent event) ++ { ++ if (panel != null) ++ { ++ ComponentListener[] l = panel.getComponentListeners(); ++ for (int i = 0; i < l.length; i++) ++ l[i].componentResized(event); ++ panel.validate(); ++ } ++ } ++ ++ public void componentMoved(ComponentEvent event) ++ { ++ if (panel != null) ++ { ++ ComponentListener[] l = panel.getComponentListeners(); ++ for (int i = 0; i < l.length; i++) ++ l[i].componentMoved(event); ++ panel.validate(); ++ } ++ } ++ }; ++ ++ HierarchyBoundsListener hierarchyBoundsListener = new HierarchyBoundsAdapter() { ++ public void ancestorMoved(HierarchyEvent e) ++ { ++ if (panel != null) ++ { ++ HierarchyBoundsListener[] l = panel.getHierarchyBoundsListeners(); ++ for (int i = 0; i < l.length; i++) ++ l[i].ancestorMoved(e); ++ panel.validate(); ++ } ++ } ++ ++ public void ancestorResized(HierarchyEvent e) ++ { ++ if (panel != null) ++ { ++ HierarchyBoundsListener[] l = panel.getHierarchyBoundsListeners(); ++ for (int i = 0; i < l.length; i++) ++ l[i].ancestorResized(e); ++ panel.validate(); ++ } ++ } ++ }; ++ + addWindowListener(windowEventListener); ++ addComponentListener(componentListener); ++ addHierarchyBoundsListener(hierarchyBoundsListener); + panel.addAppletListener(new AppletEventListener(this)); + + // Start the applet @@ -338,7 +387,7 @@ diff -urN openjdk.orig/jdk/src/share/cla + v.copyInto(retVal); + return retVal; + } -+ ++ + /* + * Methods for java.applet.AppletContext + */ @@ -573,15 +622,13 @@ diff -urN openjdk.orig/jdk/src/share/cla + } + + /** -+ * Make sure the atrributes are uptodate. -+ */ -+ public void updateAtts() { -+ Dimension d = panel.size(); -+ Insets in = panel.insets(); -+ panel.atts.put("width", -+ new Integer(d.width - (in.left + in.right)).toString()); -+ panel.atts.put("height", -+ new Integer(d.height - (in.top + in.bottom)).toString()); ++ * Make sure the attributes are up-to-date. ++ */ ++ public void updateAtts(int width, int height) { ++ panel.atts.remove("width"); ++ panel.atts.remove("height"); ++ panel.atts.put("width", new Integer(width).toString()); ++ panel.atts.put("height", new Integer(height).toString()); + } + + /** @@ -808,17 +855,19 @@ diff -urN openjdk.orig/jdk/src/share/cla + public static void parse(long handle, Reader in, URL url, String enc) + throws IOException { + encoding = enc; -+ parse(handle, in, url, System.out, new PluginAppletViewerFactory()); -+ } -+ -+ public static void parse(long handle, Reader in, URL url) ++ parse(handle, 1, 1, in, url, System.out, new PluginAppletViewerFactory()); ++ } ++ ++ public static void parse(long handle, int width, int height, Reader in, URL url) + throws IOException { -+ parse(handle, in, url, System.out, new PluginAppletViewerFactory()); -+ } -+ -+ public static void parse(long handle, Reader in, URL url, -+ PrintStream statusMsgStream, -+ PluginAppletViewerFactory factory) ++ parse(handle, width, height, ++ in, url, System.out, new PluginAppletViewerFactory()); ++ } ++ ++ public static void parse(long handle, int width, int height, Reader in, ++ URL url, ++ PrintStream statusMsgStream, ++ PluginAppletViewerFactory factory) + throws IOException + { + // tag flags @@ -873,11 +922,16 @@ diff -urN openjdk.orig/jdk/src/share/cla + } + + if (atts != null) { ++ atts.remove("width"); ++ atts.remove("height"); ++ atts.put("width", new Integer(width).toString()); ++ atts.put("height", new Integer(height).toString()); ++ + // XXX 5/18 In general this code just simply + // shouldn't be part of parsing. It's presence + // causes things to be a little too much of a + // hack. -+ factory.createAppletViewer(handle, x, y, url, atts); ++ factory.createAppletViewer(handle, x, y, url, atts); + x += XDELTA; + y += YDELTA; + // make sure we don't go too far! @@ -906,7 +960,8 @@ diff -urN openjdk.orig/jdk/src/share/cla + if (val == null) { + statusMsgStream.println(requiresNameWarning); + } else if (atts != null) { -+ atts.put(att.toLowerCase(), val); ++ String name = att.toLowerCase(); ++ atts.put(name, val); + } else { + statusMsgStream.println(paramOutsideWarning); + } @@ -1015,10 +1070,10 @@ diff -urN openjdk.orig/jdk/src/share/cla + } + } +} -diff -urN openjdk.orig/jdk/src/share/classes/sun/applet/PluginMain.java openjdk/jdk/src/share/classes/sun/applet/PluginMain.java +diff -ruN openjdk.orig/jdk/src/share/classes/sun/applet/PluginMain.java openjdk/jdk/src/share/classes/sun/applet/PluginMain.java --- openjdk.orig/jdk/src/share/classes/sun/applet/PluginMain.java 1969-12-31 19:00:00.000000000 -0500 -+++ openjdk/jdk/src/share/classes/sun/applet/PluginMain.java 2007-10-12 17:37:54.000000000 -0400 -@@ -0,0 +1,262 @@ ++++ openjdk/jdk/src/share/classes/sun/applet/PluginMain.java 2007-12-11 13:45:15.000000000 -0500 +@@ -0,0 +1,274 @@ +/* + * Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -1199,7 +1254,7 @@ diff -urN openjdk.orig/jdk/src/share/cla + if (currentRequest.handle != 0 + && !currentRequest.alreadySent) { + PluginAppletViewer.parse -+ (currentRequest.handle, ++ (currentRequest.handle, 1, 1, + new StringReader(currentRequest.tag), + new URL(currentRequest.documentbase)); + parseRequests.remove(currentKey); @@ -1208,11 +1263,19 @@ diff -urN openjdk.orig/jdk/src/share/cla + } else if (message.startsWith("handle")) { + if (currentRequest != null) { + currentRequest.handle = Long.parseLong -+ (message.substring("handle".length() + 1)); ++ (message.substring("handle".length() + 1, ++ message.indexOf("width") - 1)); ++ int width = Integer.parseInt(message.substring ++ (message.indexOf("width") + ++ "width".length() + 1, ++ message.indexOf("height") - 1)); ++ int height = Integer.parseInt(message.substring( ++ message.indexOf("height") + ++ "height".length() + 1)); + if (currentRequest.tag != null + && !currentRequest.alreadySent) { + PluginAppletViewer.parse -+ (currentRequest.handle, ++ (currentRequest.handle, width, height, + new StringReader(currentRequest.tag), + new URL(currentRequest.documentbase)); + parseRequests.remove(currentKey); @@ -1221,11 +1284,15 @@ diff -urN openjdk.orig/jdk/src/share/cla + } else if (message.startsWith("width")) { + int width = + Integer.parseInt(message.substring("width".length() + 1)); -+ currentWindow.setSize(width, currentWindow.getHeight()); ++ int height = currentWindow.getHeight(); ++ currentWindow.updateAtts(width, height); ++ currentWindow.setSize(width, height); + } else if (message.startsWith("height")) { + int height = + Integer.parseInt(message.substring("height".length() + 1)); -+ currentWindow.setSize(currentWindow.getWidth(), height); ++ int width = currentWindow.getWidth(); ++ currentWindow.updateAtts(width, height); ++ currentWindow.setSize(width, height); + } else if (message.startsWith("destroy") + && currentWindow != null) { + deregisterWindow(currentWindow); From fkung at redhat.com Wed Dec 12 11:21:09 2007 From: fkung at redhat.com (Francis Kung) Date: Wed, 12 Dec 2007 14:21:09 -0500 Subject: Building IcedTea without mozilla-plugin In-Reply-To: <194f62550712120640l27e241b1r83e0e8e43661c935@mail.gmail.com> References: <194f62550712120640l27e241b1r83e0e8e43661c935@mail.gmail.com> Message-ID: <476034A5.7090607@redhat.com> Hi Clemens, > 1.) Will IcedTea also work on FC7 with latest updates? Is there a > possibility to use an existing jdk5,6,7 installation instead of GCJ? I haven't done a F7 build since, well, since F8 came out, but I think it should work. We do not rely on anything specific to Fedora 8. It is not possible to bootstrap against JDK5, as JDK >= 6 is a requirement by the OpenJDK itself. We have also had reports that bootstrapping against JDK6/7 does not work (see http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2007-December/000740.html ) but haven't had a chance to investigate much, so I don't know if there is an easy work-around. Bootstrapping against gcj/ecj or a previous build of IcedTea is "guaranteed" to work. > 2.) Is it possible to not build the mozilla dependent parts? Not at the moment, though I don't think this would be difficult to implement. Can you file a request at http://icedtea.classpath.org/bugzilla/ so we don't forget? =) > 3.) Does IcedTea use Sun's Graphics2D implementation? I don't care > about ductus beeing there, but I would like to play with Sun's X11 > pipeline. Yes, we use Sun code whenever it is available. Most of the Sun graphics code is open; if I recall correctly, it's just missing pieces in anti-aliasing, path widening, and some high-level "glue" that we replace. Cheers, Francis From gbenson at redhat.com Thu Dec 13 07:57:57 2007 From: gbenson at redhat.com (Gary Benson) Date: Thu, 13 Dec 2007 15:57:57 +0000 Subject: changeset in /hg/icedtea: 2007-12-13 Gary Benson changeset 055d32cf277f in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=055d32cf277f description: 2007-12-13 Gary Benson * contrib/templater/*: Imported changes from PPC port. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: Regenerated from templater (whitespace changes only). * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp: Likewise. diffstat: 31 files changed, 1494 insertions(+), 301 deletions(-) ChangeLog | 11 contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp | 215 ++- contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp | 97 + contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp | 79 - contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.cpp | 686 ++++++++++ contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.hpp | 20 contrib/templater/hotspot/src/cpu/CPU/vm/globalDefinitions_CPU.hpp | 26 contrib/templater/hotspot/src/cpu/CPU/vm/icache_CPU.cpp | 4 contrib/templater/hotspot/src/cpu/CPU/vm/icache_CPU.hpp | 4 contrib/templater/hotspot/src/cpu/CPU/vm/interp_masm_CPU.cpp | 72 + contrib/templater/hotspot/src/cpu/CPU/vm/interp_masm_CPU.hpp | 22 contrib/templater/hotspot/src/cpu/CPU/vm/interpreterRT_CPU.cpp | 29 contrib/templater/hotspot/src/cpu/CPU/vm/interpreter_CPU.cpp | 15 contrib/templater/hotspot/src/cpu/CPU/vm/nativeInst_CPU.hpp | 70 - contrib/templater/hotspot/src/cpu/CPU/vm/register_CPU.hpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/register_definitions_CPU.cpp | 6 contrib/templater/hotspot/src/cpu/CPU/vm/sharedRuntime_CPU.cpp | 17 contrib/templater/hotspot/src/cpu/CPU/vm/stubGenerator_CPU.cpp | 6 contrib/templater/hotspot/src/cpu/CPU/vm/vmreg_CPU.cpp | 28 contrib/templater/hotspot/src/cpu/CPU/vm/vmreg_CPU.hpp | 29 contrib/templater/hotspot/src/os_cpu/linux_CPU/vm/assembler_linux_CPU.cpp | 32 contrib/templater/hotspot/src/os_cpu/linux_CPU/vm/os_linux_CPU.cpp | 37 contrib/templater/j2se/src/solaris/bin/CPUS/jvm.cfg | 44 contrib/templater/j2se/src/solaris/bin/ergo_CPU.c | 58 contrib/templater/jdk/src/solaris/bin/CPUS/jvm.cfg | 44 contrib/templater/jdk/src/solaris/bin/ergo_CPU.c | 58 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 14 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 16 ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp | 2 ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp | 50 ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp | 2 diffs (truncated from 2577 to 500 lines): diff -r 208a6277eb21 -r 055d32cf277f ChangeLog --- a/ChangeLog Wed Dec 12 10:57:37 2007 -0500 +++ b/ChangeLog Thu Dec 13 10:57:51 2007 -0500 @@ -1,3 +1,14 @@ 2007-12-12 Lillian Angel + + * contrib/templater/*: Imported changes from PPC port. + + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: + Regenerated from templater (whitespace changes only). + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/disassembler_ppc.cpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/vmreg_ppc.cpp: Likewise. + 2007-12-12 Lillian Angel Fixes Bug #76 diff -r 208a6277eb21 -r 055d32cf277f contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp Wed Dec 12 10:57:37 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp Thu Dec 13 10:57:51 2007 -0500 @@ -242,6 +242,14 @@ void Assembler::bc(int bo, int bi, addre { emit_instruction(16, bo, bi, branch_target(pc(), a, 14), false, false); } +void Assembler::bcctrl(int bo, int bi) +{ + emit_instruction(19, bo, bi, 0, 528, true); +} +void Assembler::bcl(int bo, int bi, address a) +{ + emit_instruction(16, bo, bi, branch_target(pc(), a, 14), false, true); +} void Assembler::bclr(int bo, int bi) { emit_instruction(19, bo, bi, 0, 16, false); @@ -445,6 +453,10 @@ void Assembler::stdx(Register src, Regis // Standard mnemonics common to 32- and 64-bit implementations +void Assembler::bctrl() +{ + bcctrl(20, 0); +} void Assembler::bdnz(Label& l) { bc(16, 0, l); @@ -639,49 +651,10 @@ void Assembler::pd_patch_instruction(add #endif // PPC #ifndef PRODUCT - void Assembler::pd_print_patched_instruction(address branch) { Unimplemented(); } - -void Assembler::disassemble(const char *what, address start, address end) -{ - const char *fmt = "/tmp/aztec-%d.%c"; - char c_file[BUFSIZ], o_file[BUFSIZ]; - sprintf(c_file, fmt, getpid(), 'c'); - sprintf(o_file, fmt, getpid(), 'o'); - - FILE *fp = fopen(c_file, "w"); - if (fp == NULL) - fatal2("%s:%d: can't write file", __FILE__, __LINE__); - - fputs("unsigned char start[] = {", fp); - for (address a = start; a < end; a++) { - if (a != start) - fputc(',', fp); - fprintf(fp, "0x%02x", *a); - } - fputs("};\n", fp); - fclose(fp); - - char cmd[BUFSIZ]; - sprintf(cmd, "gcc -m%d -c %s -o %s", wordSize * 8, c_file, o_file); - if (system(cmd) != 0) - fatal2("%s:%d: can't compile file", __FILE__, __LINE__); - - printf("%s: %p-%p:\n", what, start, end); - fflush(stdout); - sprintf(cmd, "objdump -D -j .data %s | grep '^....:'", o_file); - if (system(cmd) != 0) - fatal2("%s:%d: can't disassemble file", __FILE__, __LINE__); - putchar('\n'); - fflush(stdout); - - unlink(c_file); - unlink(o_file); -} - #endif // PRODUCT #ifdef PPC @@ -817,7 +790,7 @@ void StackFrame::generate_prolog(MacroAs // Calculate the aligned frame size while (true) { _frame_size = unaligned_size(); - if (_frame_size % 16 == 0) + if (_frame_size % StackAlignmentInBytes == 0) break; _locals++; } @@ -962,6 +935,12 @@ void MacroAssembler::lwax(Register dst, extsw(dst, dst); #endif } +void MacroAssembler::mpclr() +{ + // move pc to lr + // 20, 31 is a magic branch that preserves the link stack + bcl(20, 31, pc() + 4); +} // Operations which are different on PPC32/64 @@ -988,8 +967,8 @@ void MacroAssembler::call(Register func) func = r0; #endif // PPC64 - mtlr(func); - blrl(); + mtctr(func); + bctrl(); #ifdef PPC64 ld (r2, Address(r1, 40)); @@ -1199,21 +1178,117 @@ void MacroAssembler::cmpxchg_(Register e bind(done); } -void MacroAssembler::set_last_Java_frame() -{ - Label label; - - bl(label); - bind(label); - mflr(r0); - store(r0, Address(Rthread, JavaThread::last_Java_pc_offset())); - store(r1, Address(Rthread, JavaThread::last_Java_sp_offset())); -} - -void MacroAssembler::reset_last_Java_frame() -{ - load(r0, 0); - store(r0, Address(Rthread, JavaThread::last_Java_sp_offset())); +void MacroAssembler::call_VM_pass_args(Register arg_1, + Register arg_2, + Register arg_3) +{ + if (arg_1 != r4) { + assert(arg_2 != r4, "smashed argument"); + assert(arg_3 != r4, "smashed argument"); + mr(r4, arg_1); + } + + if (arg_2 == noreg) { + assert (arg_3 == noreg, "what?"); + return; + } + + if (arg_2 != r5) { + assert(arg_3 != r5, "smashed argument"); + mr(r5, arg_2); + } + + if (arg_3 != noreg && arg_3 != r6) { + mr(r6, arg_3); + } +} + +void MacroAssembler::call_VM_base(Register oop_result, + address entry_point, + CallVMFlags flags) +{ + StackFrame frame; + + if (flags & CALL_VM_PRESERVE_LR) + prolog(frame); + + mr(r3, Rthread); + call(entry_point); + + if (flags & CALL_VM_PRESERVE_LR) + epilog(frame); + + if (!(flags & CALL_VM_NO_EXCEPTION_CHECKS)) { + Label ok; + load(r0, Address(Rthread, Thread::pending_exception_offset())); + compare (r0, 0); + beq(ok); + unimplemented(__FILE__, __LINE__); + bind(ok); + } + + if (oop_result->is_valid()) { + unimplemented(__FILE__, __LINE__); + } +} + +void MacroAssembler::call_VM(Register oop_result, + address entry_point, + CallVMFlags flags) +{ + call_VM_base(oop_result, entry_point, flags); +} +void MacroAssembler::call_VM(Register oop_result, + address entry_point, + Register arg_1, + CallVMFlags flags) +{ + call_VM_pass_args(arg_1); + call_VM_base(oop_result, entry_point, flags); +} +void MacroAssembler::call_VM(Register oop_result, + address entry_point, + Register arg_1, Register arg_2, + CallVMFlags flags) +{ + call_VM_pass_args(arg_1, arg_2); + call_VM_base(oop_result, entry_point, flags); +} +void MacroAssembler::call_VM(Register oop_result, + address entry_point, + Register arg_1, Register arg_2, Register arg_3, + CallVMFlags flags) +{ + call_VM_pass_args(arg_1, arg_2, arg_3); + call_VM_base(oop_result, entry_point, flags); +} + +void MacroAssembler::call_VM_leaf_base(address entry_point) +{ + mr(r3, Rthread); + call(entry_point); +} + +void MacroAssembler::call_VM_leaf(address entry_point) +{ + call_VM_leaf_base(entry_point); +} +void MacroAssembler::call_VM_leaf(address entry_point, Register arg_1) +{ + call_VM_pass_args(arg_1); + call_VM_leaf_base(entry_point); +} +void MacroAssembler::call_VM_leaf(address entry_point, Register arg_1, + Register arg_2) +{ + call_VM_pass_args(arg_1, arg_2); + call_VM_leaf_base(entry_point); +} +void MacroAssembler::call_VM_leaf(address entry_point, Register arg_1, + Register arg_2, Register arg_3) +{ + call_VM_pass_args(arg_1, arg_2, arg_3); + call_VM_leaf_base(entry_point); } // Write serialization page so VM thread can do a pseudo remote membar. @@ -1226,6 +1301,26 @@ void MacroAssembler::serialize_memory(Re andi_(tmp1, tmp1, os::vm_page_size() - sizeof(int)); load(tmp2, (intptr_t) os::get_memory_serialize_page()); stwx(tmp1, tmp2, tmp1); +} + +void MacroAssembler::null_check(Register reg, int offset) { + if (needs_explicit_null_check((intptr_t) offset)) { + // provoke OS NULL exception if reg = NULL by + // accessing M[reg] w/o changing any registers + Unimplemented(); + } + else { + // nothing to do, (later) access of M[reg + offset] + // will provoke OS NULL exception if reg = NULL + } +} + +void MacroAssembler::verify_oop(Register reg, const char* s) +{ + if (!VerifyOops) + return; + + Unimplemented(); } void MacroAssembler::calc_padding_for_alignment( @@ -1257,7 +1352,7 @@ void MacroAssembler::maybe_extend_frame( const Register padding = available_bytes; sub(extra_bytes, required_bytes, available_bytes); - calc_padding_for_alignment(padding, extra_bytes, 16); + calc_padding_for_alignment(padding, extra_bytes, StackAlignmentInBytes); add(extra_bytes, extra_bytes, padding); // Extend the frame @@ -1362,7 +1457,9 @@ void MacroAssembler::dump_int(const char prolog(frame); if (src == r1) { int framesize = frame.unaligned_size(); - framesize += (16 - (framesize & 15)) & 15; + framesize += (StackAlignmentInBytes - + (framesize & (StackAlignmentInBytes - 1))) & + (StackAlignmentInBytes - 1); addi(r4, r1, framesize); } else if (src != r4) { diff -r 208a6277eb21 -r 055d32cf277f contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp Wed Dec 12 10:57:37 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp Thu Dec 13 10:57:51 2007 -0500 @@ -28,12 +28,9 @@ // Non-volatile registers used by the interpreter #ifdef PPC -REGISTER_DECLARATION(Register, Rmethod, r31); -REGISTER_DECLARATION(Register, Rlocals, r30); -REGISTER_DECLARATION(Register, Rthread, r29); -#ifdef CC_INTERP -REGISTER_DECLARATION(Register, Rstate, r28); -#endif // CC_INTERP +REGISTER_DECLARATION(Register, Rthread, r31); +REGISTER_DECLARATION(Register, Rmethod, r30); +REGISTER_DECLARATION(Register, Rlocals, r29); #endif // PPC @@ -72,6 +69,18 @@ class Assembler : public AbstractAssembl class Assembler : public AbstractAssembler { public: Assembler(CodeBuffer* code) : AbstractAssembler(code) {} + + private: + static bool is_simm(int x, int nbits) + { + return -(1 << nbits - 1) <= x && x < (1 << nbits - 1); + } + + public: + static bool is_simm16(int x) + { + return is_simm(x, 16); + } #ifdef PPC private: @@ -122,6 +131,8 @@ class Assembler : public AbstractAssembl void andi_(Register dst, Register a, int b); void b(address a); void bc(int bo, int bi, address a); + void bcctrl(int bo, int bi); + void bcl(int bo, int bi, address a); void bclr(int bo, int bi); void bclrl(int bo, int bi); void bl(address a); @@ -177,6 +188,7 @@ class Assembler : public AbstractAssembl #endif // PPC64 // Standard mnemonics common to 32- and 64-bit implementations + void bctrl(); void bdnz(Label& l); void beq(Label& l); void beqlr(); @@ -225,11 +237,6 @@ class Assembler : public AbstractAssembl static void pd_print_patched_instruction(address branch); #endif // PRODUCT #endif // PPC - - // Disassemble a region of memory to stdout -#ifndef PRODUCT - static void disassemble(const char *what, address start, address end); -#endif // PRODUCT }; @@ -321,12 +328,43 @@ class StackFrame { #endif // PPC +// Flags for MacroAssembler::call_VM + +enum CallVMFlags { + CALL_VM_DEFAULTS = 0, + CALL_VM_NO_EXCEPTION_CHECKS = 1, + CALL_VM_PRESERVE_LR = 2 +}; + + // MacroAssembler extends Assembler by frequently used macros. // // Instructions for which a 'better' code sequence exists depending // on arguments should also go in here. class MacroAssembler : public Assembler { + protected: + // Support for VM calls + // + // This is the base routine called by the different versions of + // call_VM_leaf. The interpreter may customize this version by + // overriding it for its purposes (e.g., to save/restore additional + // registers when doing a VM call). + virtual void call_VM_leaf_base(address entry_point); + + // This is the base routine called by the different versions of + // call_VM. The interpreter may customize this version by overriding + // it for its purposes (e.g., to save/restore additional registers + // when doing a VM call). + virtual void call_VM_base(Register oop_result, + address entry_point, + CallVMFlags flags); + + private: + void call_VM_pass_args(Register arg_1, + Register arg_2 = noreg, + Register arg_3 = noreg); + public: MacroAssembler(CodeBuffer* code) : Assembler(code) {} @@ -341,6 +379,7 @@ class MacroAssembler : public Assembler void lhax(Register dst, Register a, Register b); void lwa(Register dst, const Address& src); void lwax(Register dst, Register a, Register b); + void mpclr(); // Operations which are different on PPC32/64 void call(address addr); @@ -365,10 +404,40 @@ class MacroAssembler : public Assembler void cmpxchg_(Register exchange, Register dst, Register compare); - void set_last_Java_frame(); - void reset_last_Java_frame(); - + // Support for VM calls + void call_VM(Register oop_result, + address entry_point, + CallVMFlags flags = CALL_VM_DEFAULTS); + void call_VM(Register oop_result, + address entry_point, + Register arg_1, + CallVMFlags flags = CALL_VM_DEFAULTS); + void call_VM(Register oop_result, + address entry_point, + Register arg_1, Register arg_2, + CallVMFlags flags = CALL_VM_DEFAULTS); + void call_VM(Register oop_result, + address entry_point, + Register arg_1, Register arg_2, Register arg_3, + CallVMFlags flags = CALL_VM_DEFAULTS); + + void call_VM_leaf(address entry_point); + void call_VM_leaf(address entry_point, + Register arg_1); + void call_VM_leaf(address entry_point, + Register arg_1, Register arg_2); + void call_VM_leaf(address entry_point, + Register arg_1, Register arg_2, Register arg_3); + + // Support for serializing memory accesses between threads void serialize_memory(Register tmp1, Register tmp2); + + // Support for NULL-checks + void null_check(Register reg, int offset = -1); + static bool needs_explicit_null_check(intptr_t offset); + + // Support for VerifyOops + void verify_oop(Register reg, const char* s = "broken oop"); void calc_padding_for_alignment(Register dst, Register src, int align); void maybe_extend_frame(Register required_bytes, Register available_bytes); diff -r 208a6277eb21 -r 055d32cf277f contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp Wed Dec 12 10:57:37 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp Thu Dec 13 10:57:51 2007 -0500 @@ -39,8 +39,6 @@ extern "C" void RecursiveInterpreterActi } #define __ _masm-> -#define STATE(field_name) \ - (Address(Rstate, byte_offset_of(BytecodeInterpreter, field_name))) // Non-volatile registers we use const Register Rmonitor = r27; @@ -144,6 +142,7 @@ address CppInterpreterGenerator::generat case T_OBJECT: __ load (r3, STATE(_oop_temp)); + __ verify_oop (r3); break; default: @@ -201,6 +200,7 @@ address CppInterpreterGenerator::generat break; case T_OBJECT: + __ verify_oop (r3); __ store (r3, Address(Rlocals, 0)); __ subi (Rlocals, Rlocals, wordSize); From gbenson at redhat.com Thu Dec 13 08:02:26 2007 From: gbenson at redhat.com (Gary Benson) Date: Thu, 13 Dec 2007 16:02:26 +0000 Subject: changeset in /hg/icedtea: 2007-12-13 Gary Benson changeset 5a1b5513f90a in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=5a1b5513f90a description: 2007-12-13 Gary Benson * contrib/templater/generate.py (preprocess): Remove a PPCism. diffstat: 2 files changed, 7 insertions(+), 1 deletion(-) ChangeLog | 4 ++++ contrib/templater/generate.py | 4 +++- diffs (25 lines): diff -r 055d32cf277f -r 5a1b5513f90a ChangeLog --- a/ChangeLog Thu Dec 13 10:57:51 2007 -0500 +++ b/ChangeLog Thu Dec 13 11:01:59 2007 -0500 @@ -1,3 +1,7 @@ 2007-12-13 Gary Benson + + * contrib/templater/generate.py (preprocess): Remove a PPCism. + 2007-12-13 Gary Benson * contrib/templater/*: Imported changes from PPC port. diff -r 055d32cf277f -r 5a1b5513f90a contrib/templater/generate.py --- a/contrib/templater/generate.py Thu Dec 13 10:57:51 2007 -0500 +++ b/contrib/templater/generate.py Thu Dec 13 11:01:59 2007 -0500 @@ -97,7 +97,9 @@ def preprocess(src, cpu): assert False assert mode == [COPY] - return dst.replace("_LP64", "PPC64") + if cpu == "PPC": + dst = dst.replace("_LP64", "PPC64") + return dst def untabify(line): bits = line.split("\t") From langel at redhat.com Thu Dec 13 08:48:27 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 13 Dec 2007 16:48:27 +0000 Subject: changeset in /hg/icedtea: 2007-12-13 Lillian Angel changeset 4348cf41f464 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=4348cf41f464 description: 2007-12-13 Lillian Angel * Makefile.am (stamps/clone-ecj.stamp): Added -l option to cp. Saves space and time. * Makefile.in: Regenerate. diffstat: 3 files changed, 8 insertions(+), 2 deletions(-) ChangeLog | 6 ++++++ Makefile.am | 2 +- Makefile.in | 2 +- diffs (37 lines): diff -r 5a1b5513f90a -r 4348cf41f464 ChangeLog --- a/ChangeLog Thu Dec 13 11:01:59 2007 -0500 +++ b/ChangeLog Thu Dec 13 11:47:07 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-13 Gary Benson + + * Makefile.am + (stamps/clone-ecj.stamp): Added -l option to cp. Saves space and time. + * Makefile.in: Regenerate. + 2007-12-13 Gary Benson * contrib/templater/generate.py (preprocess): Remove a PPCism. diff -r 5a1b5513f90a -r 4348cf41f464 Makefile.am --- a/Makefile.am Thu Dec 13 11:01:59 2007 -0500 +++ b/Makefile.am Thu Dec 13 11:47:07 2007 -0500 @@ -229,7 +229,7 @@ clean-patch: # Copy over OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ - cp -a openjdk openjdk-ecj ; \ + cp -al openjdk openjdk-ecj ; \ fi mkdir -p stamps touch stamps/clone-ecj.stamp diff -r 5a1b5513f90a -r 4348cf41f464 Makefile.in --- a/Makefile.in Thu Dec 13 11:01:59 2007 -0500 +++ b/Makefile.in Thu Dec 13 11:47:07 2007 -0500 @@ -730,7 +730,7 @@ clean-patch: # Copy over OpenJDK sources for ecj. stamps/clone-ecj.stamp: stamps/patch.stamp if ! test -d openjdk-ecj ; then \ - cp -a openjdk openjdk-ecj ; \ + cp -al openjdk openjdk-ecj ; \ fi mkdir -p stamps touch stamps/clone-ecj.stamp From gbenson at redhat.com Fri Dec 14 03:01:25 2007 From: gbenson at redhat.com (Gary Benson) Date: Fri, 14 Dec 2007 11:01:25 +0000 Subject: changeset in /hg/icedtea: 2007-12-14 Gary Benson changeset ca1d9aaa9ef3 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ca1d9aaa9ef3 description: 2007-12-14 Gary Benson * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp (VMmemCopy64): Use 64-bit operations on ppc64. diffstat: 2 files changed, 7 insertions(+), 5 deletions(-) ChangeLog | 5 +++++ ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp | 7 ++----- diffs (29 lines): diff -r 4348cf41f464 -r ca1d9aaa9ef3 ChangeLog --- a/ChangeLog Thu Dec 13 11:47:07 2007 -0500 +++ b/ChangeLog Fri Dec 14 06:01:20 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-13 Lillian Angel + + * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp + (VMmemCopy64): Use 64-bit operations on ppc64. + 2007-12-13 Lillian Angel * Makefile.am diff -r 4348cf41f464 -r ca1d9aaa9ef3 ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp --- a/ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp Thu Dec 13 11:47:07 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp Fri Dec 14 06:01:20 2007 -0500 @@ -42,11 +42,8 @@ inline int32_t BytecodeInterpreter::VMfl } inline void BytecodeInterpreter::VMmemCopy64(uint32_t to[2], const uint32_t from[2]) { - // x86 can do unaligned copies but not 64bits at a time - to[0] = from[0]; to[1] = from[1]; -} - -// The long operations depend on compiler support for "long long" on x86 + *(uint64_t *) to = *(uint64_t *) from; +} inline jlong BytecodeInterpreter::VMlongAdd(jlong op1, jlong op2) { return op1 + op2; From bugzilla-daemon at icedtea.classpath.org Fri Dec 14 11:36:25 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 14 Dec 2007 19:36:25 +0000 Subject: [Bug 88] New: configure should check for Mercurial Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=88 Summary: configure should check for Mercurial Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: psj at familyjenner.co.uk Now build requires Mercurial (except in the --with-openjdk-src-* case), ideally configure should check for it. If not, configure step passes but build step fails when hg is not available. A minor nice to have really since it is clear in the doc etc. - but worth logging anyway. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From jsumali at redhat.com Fri Dec 14 13:38:19 2007 From: jsumali at redhat.com (Joshua Sumali) Date: Fri, 14 Dec 2007 21:38:19 +0000 Subject: changeset in /hg/icedtea: 2007-12-14 Joshua Sumali changeset 7383a9b748f5 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7383a9b748f5 description: 2007-12-14 Joshua Sumali Fixes Bug #87 * Makefile.am: Added icedtea-timerqueue.patch. * Makefile.in: Regenerate. * patches/icedtea-timerqueue.patch: New patch. diffstat: 4 files changed, 27 insertions(+) ChangeLog | 7 +++++++ Makefile.am | 1 + Makefile.in | 1 + patches/icedtea-timerqueue.patch | 18 ++++++++++++++++++ diffs (58 lines): diff -r ca1d9aaa9ef3 -r 7383a9b748f5 ChangeLog --- a/ChangeLog Fri Dec 14 06:01:20 2007 -0500 +++ b/ChangeLog Fri Dec 14 16:30:00 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-14 Gary Benson + + Fixes Bug #87 + * Makefile.am: Added icedtea-timerqueue.patch. + * Makefile.in: Regenerate. + * patches/icedtea-timerqueue.patch: New patch. + 2007-12-14 Gary Benson * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp diff -r ca1d9aaa9ef3 -r 7383a9b748f5 Makefile.am --- a/Makefile.am Fri Dec 14 06:01:20 2007 -0500 +++ b/Makefile.am Fri Dec 14 16:30:00 2007 -0500 @@ -195,6 +195,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-ports.patch \ patches/icedtea-lcms-leak.patch \ patches/icedtea-c1-unimplemented.patch \ + patches/icedtea-timerqueue.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r ca1d9aaa9ef3 -r 7383a9b748f5 Makefile.in --- a/Makefile.in Fri Dec 14 06:01:20 2007 -0500 +++ b/Makefile.in Fri Dec 14 16:30:00 2007 -0500 @@ -309,6 +309,7 @@ ICEDTEA_PATCHES = \ patches/icedtea-ports.patch \ patches/icedtea-lcms-leak.patch \ patches/icedtea-c1-unimplemented.patch \ + patches/icedtea-timerqueue.patch \ $(FAST_BUILD_PATCH) \ $(DISTRIBUTION_PATCHES) diff -r ca1d9aaa9ef3 -r 7383a9b748f5 patches/icedtea-timerqueue.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/icedtea-timerqueue.patch Fri Dec 14 16:30:00 2007 -0500 @@ -0,0 +1,18 @@ +--- TimerQueue.java.orig 2007-12-13 14:08:33.000000000 -0500 ++++ openjdk/jdk/src/share/classes/javax/swing/TimerQueue.java 2007-12-13 14:08:52.000000000 -0500 +@@ -106,7 +106,6 @@ + return null; + } + }); +- running = true; + } + } + +@@ -164,6 +163,7 @@ + + + public void run() { ++ running = true; + try { + while (running) { + try { From langel at redhat.com Fri Dec 14 13:45:37 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 14 Dec 2007 21:45:37 +0000 Subject: changeset in /hg/icedtea: 2007-12-14 Lillian Angel changeset e5daa75b84a6 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=e5daa75b84a6 description: 2007-12-14 Lillian Angel Fixes Bug #88 * configure.ac: Added check for hg. * configure: Regenerate. diffstat: 3 files changed, 120 insertions(+), 2 deletions(-) ChangeLog | 6 +++ configure | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- configure.ac | 1 diffs (180 lines): diff -r 7383a9b748f5 -r e5daa75b84a6 ChangeLog --- a/ChangeLog Fri Dec 14 16:30:00 2007 -0500 +++ b/ChangeLog Fri Dec 14 16:44:35 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-14 Joshua Sumali + + Fixes Bug #88 + * configure.ac: Added check for hg. + * configure: Regenerate. + 2007-12-14 Joshua Sumali Fixes Bug #87 diff -r 7383a9b748f5 -r e5daa75b84a6 configure --- a/configure Fri Dec 14 16:30:00 2007 -0500 +++ b/configure Fri Dec 14 16:44:35 2007 -0500 @@ -708,6 +708,7 @@ PATCH PATCH ZIP UNZIP +MERCURIAL CHMOD GAWK SYSTEM_GCJ_DIR @@ -4475,6 +4476,115 @@ fi if test x"$UNZIP" = x ; then { { echo "$as_me:$LINENO: error: unzip program not found in PATH" >&5 echo "$as_me: error: unzip program not found in PATH" >&2;} + { (exit 1); exit 1; }; } + fi + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}hg", so it can be a program name with args. +set dummy ${ac_tool_prefix}hg; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MERCURIAL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MERCURIAL in + [\\/]* | ?:[\\/]*) + ac_cv_path_MERCURIAL="$MERCURIAL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MERCURIAL="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MERCURIAL=$ac_cv_path_MERCURIAL +if test -n "$MERCURIAL"; then + { echo "$as_me:$LINENO: result: $MERCURIAL" >&5 +echo "${ECHO_T}$MERCURIAL" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_MERCURIAL"; then + ac_pt_MERCURIAL=$MERCURIAL + # Extract the first word of "hg", so it can be a program name with args. +set dummy hg; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ac_pt_MERCURIAL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ac_pt_MERCURIAL in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_MERCURIAL="$ac_pt_MERCURIAL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_MERCURIAL="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_MERCURIAL=$ac_cv_path_ac_pt_MERCURIAL +if test -n "$ac_pt_MERCURIAL"; then + { echo "$as_me:$LINENO: result: $ac_pt_MERCURIAL" >&5 +echo "${ECHO_T}$ac_pt_MERCURIAL" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_pt_MERCURIAL" = x; then + MERCURIAL="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf at gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + MERCURIAL=$ac_pt_MERCURIAL + fi +else + MERCURIAL="$ac_cv_path_MERCURIAL" +fi + + if test x"$MERCURIAL" = x ; then + { { echo "$as_me:$LINENO: error: hg program not found in PATH" >&5 +echo "$as_me: error: hg program not found in PATH" >&2;} { (exit 1); exit 1; }; } fi @@ -10526,10 +10636,10 @@ PATCH!$PATCH$ac_delim PATCH!$PATCH$ac_delim ZIP!$ZIP$ac_delim UNZIP!$UNZIP$ac_delim +MERCURIAL!$MERCURIAL$ac_delim CHMOD!$CHMOD$ac_delim GAWK!$GAWK$ac_delim SYSTEM_GCJ_DIR!$SYSTEM_GCJ_DIR$ac_delim -SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -10571,6 +10681,7 @@ ac_delim='%!_!# ' ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF +SYSTEM_ICEDTEA_DIR!$SYSTEM_ICEDTEA_DIR$ac_delim SYSTEM_ANT_DIR!$SYSTEM_ANT_DIR$ac_delim WITH_ICEDTEA_TRUE!$WITH_ICEDTEA_TRUE$ac_delim WITH_ICEDTEA_FALSE!$WITH_ICEDTEA_FALSE$ac_delim @@ -10610,7 +10721,7 @@ LTLIBOBJS!$LTLIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 diff -r 7383a9b748f5 -r e5daa75b84a6 configure.ac --- a/configure.ac Fri Dec 14 16:30:00 2007 -0500 +++ b/configure.ac Fri Dec 14 16:44:35 2007 -0500 @@ -13,6 +13,7 @@ FIND_TOOL([PATCH], [patch]) FIND_TOOL([PATCH], [patch]) FIND_TOOL([ZIP], [zip]) FIND_TOOL([UNZIP], [unzip]) +FIND_TOOL([MERCURIAL], [hg]) FIND_TOOL([CHMOD], [chmod]) dnl OpenJDK's README-builds.html lists gawk as a build dependency so we dnl check for it explicitly rather than using AC_PROG_AWK. From bugzilla-daemon at icedtea.classpath.org Fri Dec 14 13:45:45 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 14 Dec 2007 21:45:45 +0000 Subject: [Bug 88] configure should check for Mercurial Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=88 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 14 13:47:35 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 14 Dec 2007 21:47:35 +0000 Subject: [Bug 87] Icedtea 1.7.0 and SwingWorker problem Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=87 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Fri Dec 14 13:56:50 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 14 Dec 2007 21:56:50 +0000 Subject: changeset in /hg/icedtea: 2007-12-14 Lillian Angel changeset 2e71f0c186c2 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=2e71f0c186c2 description: 2007-12-14 Lillian Angel * configure.ac: Updated to version 1.5. * configure: Regenerate. diffstat: 4 files changed, 17 insertions(+), 11 deletions(-) ChangeLog | 5 +++++ Makefile.in | 1 + configure | 20 ++++++++++---------- configure.ac | 2 +- diffs (118 lines): diff -r e5daa75b84a6 -r 2e71f0c186c2 ChangeLog --- a/ChangeLog Fri Dec 14 16:44:35 2007 -0500 +++ b/ChangeLog Fri Dec 14 16:55:48 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-14 Lillian Angel + + * configure.ac: Updated to version 1.5. + * configure: Regenerate. + 2007-12-14 Lillian Angel Fixes Bug #88 diff -r e5daa75b84a6 -r 2e71f0c186c2 Makefile.in --- a/Makefile.in Fri Dec 14 16:44:35 2007 -0500 +++ b/Makefile.in Fri Dec 14 16:55:48 2007 -0500 @@ -109,6 +109,7 @@ LIBS = @LIBS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MERCURIAL = @MERCURIAL@ MKDIR_P = @MKDIR_P@ MOZILLA_CFLAGS = @MOZILLA_CFLAGS@ MOZILLA_LIBS = @MOZILLA_LIBS@ diff -r e5daa75b84a6 -r 2e71f0c186c2 configure --- a/configure Fri Dec 14 16:44:35 2007 -0500 +++ b/configure Fri Dec 14 16:55:48 2007 -0500 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61 for icedtea 1.4. +# Generated by GNU Autoconf 2.61 for icedtea 1.5. # # Report bugs to . # @@ -574,8 +574,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='icedtea' PACKAGE_TARNAME='icedtea' -PACKAGE_VERSION='1.4' -PACKAGE_STRING='icedtea 1.4' +PACKAGE_VERSION='1.5' +PACKAGE_STRING='icedtea 1.5' PACKAGE_BUGREPORT='fitzsim at redhat.com' ac_default_prefix=bootstrap @@ -1272,7 +1272,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures icedtea 1.4 to adapt to many kinds of systems. +\`configure' configures icedtea 1.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1342,7 +1342,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of icedtea 1.4:";; + short | recursive ) echo "Configuration of icedtea 1.5:";; esac cat <<\_ACEOF @@ -1463,7 +1463,7 @@ test -n "$ac_init_help" && exit $ac_stat test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -icedtea configure 1.4 +icedtea configure 1.5 generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1477,7 +1477,7 @@ This file contains any messages produced This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by icedtea $as_me 1.4, which was +It was created by icedtea $as_me 1.5, which was generated by GNU Autoconf 2.61. Invocation command line was $ $0 $@ @@ -2167,7 +2167,7 @@ fi # Define the identity of the package. PACKAGE='icedtea' - VERSION='1.4' + VERSION='1.5' cat >>confdefs.h <<_ACEOF @@ -10326,7 +10326,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by icedtea $as_me 1.4, which was +This file was extended by icedtea $as_me 1.5, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10373,7 +10373,7 @@ _ACEOF _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -icedtea config.status 1.4 +icedtea config.status 1.5 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff -r e5daa75b84a6 -r 2e71f0c186c2 configure.ac --- a/configure.ac Fri Dec 14 16:44:35 2007 -0500 +++ b/configure.ac Fri Dec 14 16:55:48 2007 -0500 @@ -1,5 +1,5 @@ AC_PREREQ([2.61]) AC_PREREQ([2.61]) -AC_INIT([icedtea], [1.4], [fitzsim at redhat.com]) +AC_INIT([icedtea], [1.5], [fitzsim at redhat.com]) AM_INIT_AUTOMAKE([tar-pax]) AC_CONFIG_FILES([Makefile]) AC_CANONICAL_HOST From bugzilla-daemon at icedtea.classpath.org Sat Dec 15 05:07:04 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Sat, 15 Dec 2007 13:07:04 +0000 Subject: [Bug 89] New: Error when creating a new Servlet in Eclipse Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=89 Summary: Error when creating a new Servlet in Eclipse Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: daarty at gg-com.de Hi, I'm using the Java EE version of Eclipse and everytime I want to create a new Servlet I get two errors: http://pastebin.ca/817132 and http://pastebin.ca/817133 Using the official jdk1.6.0_03 I've got no problems. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From amitsaha.in at gmail.com Sat Dec 15 22:48:57 2007 From: amitsaha.in at gmail.com (Amit Kumar Saha) Date: Sun, 16 Dec 2007 12:18:57 +0530 Subject: [Announce]: Article on IcedTea Message-ID: <547db2260712152248i51604775k44ed0a8105959eb2@mail.gmail.com> Hi all! My latest article "How about some IcedTea instead of Coffee?" (published in Linux For You, (http://www.lfymag.com, December 2007, INDIA) gives a brief overview of the IcedTea project. Unfortunately, an online copy is not available. However, I am willing to share a personal copy in case someone wants to have a look. Thanks for all of you who provided valuable insights into the project. Thanks, Amit -- Amit Kumar Saha Writer, Programmer, Researcher http://amitsaha.in.googlepages.com http://amitksaha.blogspot.com From gbenson at redhat.com Tue Dec 18 01:32:03 2007 From: gbenson at redhat.com (Gary Benson) Date: Tue, 18 Dec 2007 09:32:03 +0000 Subject: changeset in /hg/icedtea: 2007-12-18 Gary Benson changeset ade9182464c1 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=ade9182464c1 description: 2007-12-18 Gary Benson * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp (bang_stack_with_offset): Move function body from header. diffstat: 3 files changed, 12 insertions(+), 4 deletions(-) ChangeLog | 6 ++++++ ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 5 +++++ ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 5 +---- diffs (40 lines): diff -r 2e71f0c186c2 -r ade9182464c1 ChangeLog --- a/ChangeLog Fri Dec 14 16:55:48 2007 -0500 +++ b/ChangeLog Tue Dec 18 04:31:59 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-14 Lillian Angel + + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp + (bang_stack_with_offset): Move function body from header. + 2007-12-14 Lillian Angel * configure.ac: Updated to version 1.5. diff -r 2e71f0c186c2 -r ade9182464c1 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Fri Dec 14 16:55:48 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp Tue Dec 18 04:31:59 2007 -0500 @@ -1466,3 +1466,8 @@ void MacroAssembler::dump_int(const char epilog(frame); } #endif // PRODUCT + +void MacroAssembler::bang_stack_with_offset(int offset) +{ + Unimplemented(); +} diff -r 2e71f0c186c2 -r ade9182464c1 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Fri Dec 14 16:55:48 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp Tue Dec 18 04:31:59 2007 -0500 @@ -451,10 +451,7 @@ class MacroAssembler : public Assembler void dump_int(const char* prefix, Register src); #endif // PRODUCT - void bang_stack_with_offset(int offset) - { - Unimplemented(); - } + void bang_stack_with_offset(int offset); }; #ifdef ASSERT From gbenson at redhat.com Tue Dec 18 01:36:36 2007 From: gbenson at redhat.com (Gary Benson) Date: Tue, 18 Dec 2007 09:36:36 +0000 Subject: changeset in /hg/icedtea: 2007-12-18 Gary Benson changeset 9f2e7abafdef in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=9f2e7abafdef description: 2007-12-18 Gary Benson * ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp (is_Java_byte_ordering_different): Add little endian support. (get_Java_u2, get_Java_u4, get_Java_u8): Likewise. (put_Java_u2, put_Java_u4, put_Java_u8): Likewise. diffstat: 2 files changed, 54 insertions(+), 5 deletions(-) ChangeLog | 7 +++ ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp | 52 +++++++++++++++++++++++++--- diffs (92 lines): diff -r ade9182464c1 -r 9f2e7abafdef ChangeLog --- a/ChangeLog Tue Dec 18 04:31:59 2007 -0500 +++ b/ChangeLog Tue Dec 18 04:36:32 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-18 Gary Benson + + * ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp + (is_Java_byte_ordering_different): Add little endian support. + (get_Java_u2, get_Java_u4, get_Java_u8): Likewise. + (put_Java_u2, put_Java_u4, put_Java_u8): Likewise. + 2007-12-18 Gary Benson * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp diff -r ade9182464c1 -r 9f2e7abafdef ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp --- a/ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp Tue Dec 18 04:31:59 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp Tue Dec 18 04:36:32 2007 -0500 @@ -25,12 +25,15 @@ class Bytes: AllStatic { public: - // Returns true if the byte ordering used by Java is different from - // the native byte ordering of the underlying machine. For example, - // this is true for Intel x86, but false for Solaris on Sparc. + // Returns true if the byte ordering used by Java is different + // from the native byte ordering of the underlying machine. static inline bool is_Java_byte_ordering_different() { +#ifdef VM_LITTLE_ENDIAN + return true; +#else return false; +#endif } // Efficient reading and writing of unaligned unsigned data in @@ -132,8 +135,41 @@ class Bytes: AllStatic { // Efficient reading and writing of unaligned unsigned data in Java - // byte ordering (i.e. big-endian ordering). No byte-order reversal - // is needed since ppc CPUs use big-endian format. + // byte ordering (i.e. big-endian ordering). +#ifdef VM_LITTLE_ENDIAN + // Byte-order reversal is needed + static inline u2 get_Java_u2(address p) + { + return swap_u2(get_native_u2(p)); + } + static inline u4 get_Java_u4(address p) + { + return swap_u4(get_native_u4(p)); + } + static inline u8 get_Java_u8(address p) + { + return swap_u8(get_native_u8(p)); + } + + static inline void put_Java_u2(address p, u2 x) + { + put_native_u2(p, swap_u2(x)); + } + static inline void put_Java_u4(address p, u4 x) + { + put_native_u4(p, swap_u4(x)); + } + static inline void put_Java_u8(address p, u8 x) + { + put_native_u8(p, swap_u8(x)); + } + + // Efficient swapping of byte ordering + static inline u2 swap_u2(u2 x); + static inline u4 swap_u4(u4 x); + static inline u8 swap_u8(u8 x); +#else + // No byte-order reversal is needed static inline u2 get_Java_u2(address p) { return get_native_u2(p); @@ -164,5 +200,11 @@ class Bytes: AllStatic { static inline u2 swap_u2(u2 x) { return x; } static inline u4 swap_u4(u4 x) { return x; } static inline u8 swap_u8(u8 x) { return x; } +#endif // VM_LITTLE_ENDIAN }; +#ifdef VM_LITTLE_ENDIAN +// The following header contains the implementations of swap_u2, +// swap_u4, and swap_u8 +#include "incls/_bytes_pd.inline.hpp.incl" +#endif // VM_LITTLE_ENDIAN From gbenson at redhat.com Tue Dec 18 02:14:02 2007 From: gbenson at redhat.com (Gary Benson) Date: Tue, 18 Dec 2007 10:14:02 +0000 Subject: changeset in /hg/icedtea: 2007-12-18 Gary Benson changeset 7fc7629ace8b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=7fc7629ace8b description: 2007-12-18 Gary Benson * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp (_Copy_conjoint_jints_atomic): Invert conditionals for readability. (_Copy_conjoint_jints_atomic): Likewise. diffstat: 2 files changed, 14 insertions(+), 8 deletions(-) ChangeLog | 6 ++++++ ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp | 16 ++++++++-------- diffs (48 lines): diff -r 9f2e7abafdef -r 7fc7629ace8b ChangeLog --- a/ChangeLog Tue Dec 18 04:36:32 2007 -0500 +++ b/ChangeLog Tue Dec 18 04:59:22 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-18 Gary Benson + + * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp + (_Copy_conjoint_jints_atomic): Invert conditionals for readability. + (_Copy_conjoint_jints_atomic): Likewise. + 2007-12-18 Gary Benson * ports/hotspot/src/cpu/ppc/vm/bytes_ppc.hpp diff -r 9f2e7abafdef -r 7fc7629ace8b ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp --- a/ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp Tue Dec 18 04:36:32 2007 -0500 +++ b/ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp Tue Dec 18 04:59:22 2007 -0500 @@ -281,23 +281,23 @@ void os::print_context(outputStream* st, extern "C" { -#ifndef PPC32 +#ifdef PPC64 void _Copy_conjoint_jints_atomic(jint* from, jint* to, size_t count) { Unimplemented(); } -#endif // !PPC32 - -#ifndef PPC64 +#endif // PPC64 + +#ifdef PPC32 void _Copy_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) { -#if defined(PPC32) && defined(XXX_EVIL_EVIL_EVIL) +#ifdef XXX_EVIL_EVIL_EVIL _Copy_conjoint_jints_atomic((jint *) from, (jint *) to, count * 2); #else Unimplemented(); -#endif // PPC32 && XXX_EVIL_EVIL_EVIL - } -#endif // !PPC64 +#endif // XXX_EVIL_EVIL_EVIL + } +#endif // PPC32 void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { From gbenson at redhat.com Tue Dec 18 02:14:04 2007 From: gbenson at redhat.com (Gary Benson) Date: Tue, 18 Dec 2007 10:14:04 +0000 Subject: changeset in /hg/icedtea: 2007-12-18 Gary Benson changeset d92cfc11ffe5 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=d92cfc11ffe5 description: 2007-12-18 Gary Benson * contrib/templater/*: Wrap all PPC-specifics with conditionals. * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: Regenerated from templater (whitespace changes only). * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp: Likewise. * ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp: Likewise. * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp: Likewise. diffstat: 36 files changed, 240 insertions(+), 94 deletions(-) ChangeLog | 13 +++ contrib/templater/generate.py | 16 ++-- contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp | 12 ++- contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp | 34 +++++----- contrib/templater/hotspot/src/cpu/CPU/vm/bytecodeInterpreter_CPU.inline.hpp | 7 -- contrib/templater/hotspot/src/cpu/CPU/vm/bytes_CPU.hpp | 32 +++++---- contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreterGenerator_CPU.hpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp | 16 ++++ contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.cpp | 10 ++ contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.cpp | 8 ++ contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.hpp | 14 ++-- contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.inline.hpp | 8 ++ contrib/templater/hotspot/src/cpu/CPU/vm/globalDefinitions_CPU.hpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/interp_masm_CPU.cpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/interp_masm_CPU.hpp | 6 + contrib/templater/hotspot/src/cpu/CPU/vm/interpreterRT_CPU.cpp | 34 +++++++++- contrib/templater/hotspot/src/cpu/CPU/vm/interpreterRT_CPU.hpp | 14 +++- contrib/templater/hotspot/src/cpu/CPU/vm/interpreter_CPU.cpp | 8 ++ contrib/templater/hotspot/src/cpu/CPU/vm/registerMap_CPU.hpp | 4 - contrib/templater/hotspot/src/cpu/CPU/vm/register_CPU.cpp | 10 ++ contrib/templater/hotspot/src/cpu/CPU/vm/register_CPU.hpp | 4 - contrib/templater/hotspot/src/cpu/CPU/vm/register_definitions_CPU.cpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/relocInfo_CPU.hpp | 2 contrib/templater/hotspot/src/cpu/CPU/vm/sharedRuntime_CPU.cpp | 10 ++ contrib/templater/hotspot/src/cpu/CPU/vm/stubGenerator_CPU.cpp | 1 contrib/templater/hotspot/src/cpu/CPU/vm/stubRoutines_CPU.hpp | 10 ++ contrib/templater/hotspot/src/os_cpu/linux_CPU/vm/assembler_linux_CPU.cpp | 2 contrib/templater/hotspot/src/os_cpu/linux_CPU/vm/atomic_linux_CPU.inline.hpp | 2 contrib/templater/hotspot/src/os_cpu/linux_CPU/vm/os_linux_CPU.cpp | 20 +++-- ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp | 1 ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp | 5 + ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp | 10 +- ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp | 4 - ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp | 1 ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp | 6 - ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp | 2 diffs (truncated from 1220 to 500 lines): diff -r 7fc7629ace8b -r d92cfc11ffe5 ChangeLog --- a/ChangeLog Tue Dec 18 04:59:22 2007 -0500 +++ b/ChangeLog Tue Dec 18 05:12:22 2007 -0500 @@ -1,3 +1,16 @@ 2007-12-18 Gary Benson + + * contrib/templater/*: Wrap all PPC-specifics with conditionals. + + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.hpp: + Regenerated from templater (whitespace changes only). + * ports/hotspot/src/cpu/ppc/vm/assembler_ppc.cpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/frame_ppc.hpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/registerMap_ppc.hpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp: Likewise. + * ports/hotspot/src/cpu/ppc/vm/stubRoutines_ppc.hpp: Likewise. + * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp: Likewise. + 2007-12-18 Gary Benson * ports/hotspot/src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/generate.py --- a/contrib/templater/generate.py Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/generate.py Tue Dec 18 05:12:22 2007 -0500 @@ -40,12 +40,12 @@ def preprocess(src, cpu): while src: thing = things.match(src) if not thing: - if mode[-1] != COND_FALSE: + if COND_FALSE not in mode: dst += src break before, thing, src = thing.groups() src = thing + src - if mode[-1] != COND_FALSE: + if COND_FALSE not in mode: dst += before end = ends.get(thing, "\n") index = src.find(end) @@ -54,7 +54,7 @@ def preprocess(src, cpu): thing = src[:index] src = src[index:] if not thing.startswith("#"): - if mode[-1] != COND_FALSE: + if COND_FALSE not in mode: dst += thing continue args = thing.strip().split() @@ -63,7 +63,7 @@ def preprocess(src, cpu): cmd += args.pop(0) if cmd in ("#include", "#define", "#undef"): - if mode[-1] != COND_FALSE: + if COND_FALSE not in mode: dst += thing elif cmd in ("#ifdef", "#ifndef"): us, them = { @@ -76,7 +76,8 @@ def preprocess(src, cpu): mode.append(them) else: mode.append(COPY) - dst += thing + if COND_FALSE not in mode: + dst += thing elif cmd == "#if": for check in [cpu] + other_cpus: assert "defined(%s)" % check not in args @@ -88,9 +89,10 @@ def preprocess(src, cpu): elif mode[-1] == COND_FALSE: mode[-1] = COND_TRUE else: - dst += thing + if COND_FALSE not in mode: + dst += thing elif cmd == "#endif": - if mode[-1] == COPY: + if mode[-1] == COPY and COND_FALSE not in mode: dst += thing mode.pop() else: diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.cpp Tue Dec 18 05:12:22 2007 -0500 @@ -648,16 +648,16 @@ void Assembler::pd_patch_instruction(add Unimplemented(); } } - #endif // PPC + #ifndef PRODUCT void Assembler::pd_print_patched_instruction(address branch) { Unimplemented(); } #endif // PRODUCT + #ifdef PPC - // 32-bit ABI: // // | ... | @@ -1406,8 +1406,6 @@ void MacroAssembler::untested(const char CAST_FROM_FN_PTR(address, report_untested), file, line, message); } -#endif // PPC - address MacroAssembler::generate_unimplemented_stub(const char* file, int line) { address start = enter(); @@ -1470,3 +1468,9 @@ void MacroAssembler::dump_int(const char epilog(frame); } #endif // PRODUCT + +#endif // PPC +void MacroAssembler::bang_stack_with_offset(int offset) +{ + Unimplemented(); +} diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/assembler_CPU.hpp Tue Dec 18 05:12:22 2007 -0500 @@ -25,13 +25,12 @@ // The definitions needed for @@cpu@@ assembly code generation. +#ifdef PPC // Non-volatile registers used by the interpreter -#ifdef PPC REGISTER_DECLARATION(Register, Rthread, r31); REGISTER_DECLARATION(Register, Rmethod, r30); REGISTER_DECLARATION(Register, Rlocals, r29); -#endif // PPC // Address is an abstraction used to represent a memory location @@ -62,6 +61,7 @@ class Address { }; +#endif // PPC // The @@cpu@@ Assembler: Pure assembler doing NO optimizations on // the instruction level; i.e., what you write is what you get. // The Assembler is generating code into a CodeBuffer. @@ -69,6 +69,7 @@ class Assembler : public AbstractAssembl class Assembler : public AbstractAssembler { public: Assembler(CodeBuffer* code) : AbstractAssembler(code) {} +#ifdef PPC private: static bool is_simm(int x, int nbits) @@ -82,7 +83,6 @@ class Assembler : public AbstractAssembl return is_simm(x, 16); } -#ifdef PPC private: // Instruction emitters for the various forms. // Every instruction should ultimately come through one of these. @@ -230,19 +230,19 @@ class Assembler : public AbstractAssembl void b(Label& l); void bc(int bo, int bi, Label& l); void bl(Label& l); +#endif // PPC // Function to fix up forward branches void pd_patch_instruction(address branch, address target); #ifndef PRODUCT static void pd_print_patched_instruction(address branch); #endif // PRODUCT -#endif // PPC -}; - +}; + +#ifdef PPC // StackFrame is used to generate prologs and epilogs -#ifdef PPC class StackFrame { private: int _params; @@ -325,7 +325,6 @@ class StackFrame { int unaligned_size(); int start_of_locals(); }; -#endif // PPC // Flags for MacroAssembler::call_VM @@ -337,12 +336,14 @@ enum CallVMFlags { }; +#endif // PPC // MacroAssembler extends Assembler by frequently used macros. // // Instructions for which a 'better' code sequence exists depending // on arguments should also go in here. class MacroAssembler : public Assembler { +#ifdef PPC protected: // Support for VM calls // @@ -365,15 +366,16 @@ class MacroAssembler : public Assembler Register arg_2 = noreg, Register arg_3 = noreg); +#endif // PPC public: MacroAssembler(CodeBuffer* code) : Assembler(code) {} void align(int modulus); +#ifdef PPC void prolog(StackFrame& frame) { frame.generate_prolog(this); } void epilog(StackFrame& frame) { frame.generate_epilog(this); } -#ifdef PPC // Non-standard mnemonics void lbax(Register dst, Register a, Register b); void lhax(Register dst, Register a, Register b); @@ -400,7 +402,6 @@ class MacroAssembler : public Assembler void store_indexed(Register src, Register a, Register b); void store_update(Register src, const Address& dst); void store_update_indexed(Register src, Register a, Register b); -#endif // PPC void cmpxchg_(Register exchange, Register dst, Register compare); @@ -461,17 +462,20 @@ class MacroAssembler : public Assembler void dump_int(const char* prefix, Register src); #endif // PRODUCT - void bang_stack_with_offset(int offset) - { - Unimplemented(); - } +#endif // PPC + void bang_stack_with_offset(int offset); }; #ifdef ASSERT -inline bool AbstractAssembler::pd_check_instruction_mark() { Unimplemented(); } +inline bool AbstractAssembler::pd_check_instruction_mark() +{ + Unimplemented(); +} #endif +#ifdef PPC #define UnimplementedStub() \ (__ generate_unimplemented_stub(__FILE__, __LINE__)) #define UnimplementedEntry() \ (__ generate_unimplemented_entry(__FILE__, __LINE__)) +#endif // PPC diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/bytecodeInterpreter_CPU.inline.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/bytecodeInterpreter_CPU.inline.hpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/bytecodeInterpreter_CPU.inline.hpp Tue Dec 18 05:12:22 2007 -0500 @@ -42,11 +42,8 @@ inline int32_t BytecodeInterpreter::VMfl } inline void BytecodeInterpreter::VMmemCopy64(uint32_t to[2], const uint32_t from[2]) { - // x86 can do unaligned copies but not 64bits at a time - to[0] = from[0]; to[1] = from[1]; -} - -// The long operations depend on compiler support for "long long" on x86 + *(uint64_t *) to = *(uint64_t *) from; +} inline jlong BytecodeInterpreter::VMlongAdd(jlong op1, jlong op2) { return op1 + op2; diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/bytes_CPU.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/bytes_CPU.hpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/bytes_CPU.hpp Tue Dec 18 05:12:22 2007 -0500 @@ -25,12 +25,15 @@ class Bytes: AllStatic { public: - // Returns true if the byte ordering used by Java is different from - // the native byte ordering of the underlying machine. For example, - // this is true for Intel x86, but false for Solaris on Sparc. + // Returns true if the byte ordering used by Java is different + // from the native byte ordering of the underlying machine. static inline bool is_Java_byte_ordering_different() { - return @@isLittleEndian(cpu) and "true" or "false"@@; +#ifdef VM_LITTLE_ENDIAN + return true; +#else + return false; +#endif } // Efficient reading and writing of unaligned unsigned data in @@ -132,9 +135,9 @@ class Bytes: AllStatic { // Efficient reading and writing of unaligned unsigned data in Java - // byte ordering (i.e. big-endian ordering). @@ -(isLittleEndian(cpu) and """Byte-order reversal is - // needed since %s CPUs use little-endian format. + // byte ordering (i.e. big-endian ordering). +#ifdef VM_LITTLE_ENDIAN + // Byte-order reversal is needed static inline u2 get_Java_u2(address p) { return swap_u2(get_native_u2(p)); @@ -164,8 +167,9 @@ class Bytes: AllStatic { // Efficient swapping of byte ordering static inline u2 swap_u2(u2 x); static inline u4 swap_u4(u4 x); - static inline u8 swap_u8(u8 x);""" or """No byte-order reversal - // is needed since %s CPUs use big-endian format. + static inline u8 swap_u8(u8 x); +#else + // No byte-order reversal is needed static inline u2 get_Java_u2(address p) { return get_native_u2(p); @@ -195,10 +199,12 @@ class Bytes: AllStatic { // No byte-order reversal is needed static inline u2 swap_u2(u2 x) { return x; } static inline u4 swap_u4(u4 x) { return x; } - static inline u8 swap_u8(u8 x) { return x; }""") % cpu@@ + static inline u8 swap_u8(u8 x) { return x; } +#endif // VM_LITTLE_ENDIAN }; -@@isLittleEndian(cpu) and """\ - + +#ifdef VM_LITTLE_ENDIAN // The following header contains the implementations of swap_u2, // swap_u4, and swap_u8 -#include "incls/_bytes_pd.inline.hpp.incl"""@@ +#include "incls/_bytes_pd.inline.hpp.incl" +#endif // VM_LITTLE_ENDIAN diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreterGenerator_CPU.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreterGenerator_CPU.hpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreterGenerator_CPU.hpp Tue Dec 18 05:12:22 2007 -0500 @@ -23,8 +23,10 @@ * */ +#ifdef PPC void generate_adjust_callers_stack(); void generate_compute_interpreter_state(bool native); void generate_more_monitors(); void generate_convert_result(address* converter_array); void generate_unwind_interpreter_state(); +#endif // PPC diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/cppInterpreter_CPU.cpp Tue Dec 18 05:12:22 2007 -0500 @@ -27,6 +27,7 @@ #include "incls/_cppInterpreter_@@cpu@@.cpp.incl" #ifdef CC_INTERP +#ifdef PPC // The address of this function is stored in the LR save area // while we are recursed in the frame manager/C++ interpreter. @@ -61,6 +62,7 @@ static Label fast_accessor_slow_entry_pa // Stuff for caching identical entries static address normal_entry = NULL; static address native_entry = NULL; +#endif // PPC int AbstractInterpreter::BasicType_as_index(BasicType type) { @@ -90,10 +92,15 @@ int AbstractInterpreter::BasicType_as_in bool CppInterpreter::contains(address pc) { +#ifdef PPC return pc == CAST_FROM_FN_PTR(address, RecursiveInterpreterActivation) || _code->contains(pc); -} - +#else + Unimplemented(); +#endif // PPC +} + +#ifdef PPC // A result is the register or registers defined in the native ABI // for that type, unless it is an OOP in which case it will have // been unboxed and saved in the frame. Preprocess it. @@ -1288,6 +1295,7 @@ void CppInterpreterGenerator::generate_u __ load (r0, Address(r1, StackFrame::lr_save_offset * wordSize)); __ mtlr (r0); } +#endif // PPC address AbstractInterpreterGenerator::generate_method_entry( AbstractInterpreter::MethodKind kind) { @@ -1350,6 +1358,7 @@ InterpreterGenerator::InterpreterGenerat int AbstractInterpreter::size_top_interpreter_activation(methodOop method) { +#ifdef PPC StackFrame frame; int call_stub_frame = round_to( @@ -1365,6 +1374,9 @@ int AbstractInterpreter::size_top_interp sizeof(BytecodeInterpreter), StackAlignmentInBytes); return (call_stub_frame + interpreter_frame) / wordSize; +#else + Unimplemented(); +#endif // PPC } // Deoptimization helpers for C++ interpreter diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.cpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/disassembler_CPU.cpp Tue Dec 18 05:12:22 2007 -0500 @@ -27,6 +27,7 @@ #include "incls/_disassembler_@@cpu@@.cpp.incl" #ifndef PRODUCT +#ifdef PPC class InstructionParser { private: intptr_t _addr; @@ -652,11 +653,16 @@ static void print_instruction_at(address // External interface +#endif // PPC void Disassembler::decode(CodeBlob *cb, outputStream *st) { +#ifdef PPC st = st ? st : tty; st->print_cr("Decoding CodeBlob " INTPTR_FORMAT, cb); decode(cb->instructions_begin(), cb->instructions_end(), st); +#else + Unimplemented(); +#endif // PPC } void Disassembler::decode(nmethod *nm, outputStream *st) @@ -666,6 +672,7 @@ void Disassembler::decode(nmethod *nm, o void Disassembler::decode(u_char *begin, u_char *end, outputStream *st) { +#ifdef PPC st = st ? st : tty; CodeBlob *cb = CodeCache::find_blob_unsafe(begin); for (u_char *addr = begin; addr < end; addr += 4) { @@ -682,5 +689,8 @@ void Disassembler::decode(u_char *begin, st->cr(); } +#else + Unimplemented(); +#endif // PPC } #endif // PRODUCT diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.cpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.cpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.cpp Tue Dec 18 05:12:22 2007 -0500 @@ -39,11 +39,16 @@ void RegisterMap::check_location_valid() bool frame::is_interpreted_frame() const { +#ifdef PPC return Interpreter::contains(pc()); +#else + Unimplemented(); +#endif // PPC } frame frame::sender_for_entry_frame(RegisterMap *map) const { +#ifdef PPC assert(map != NULL, "map must be set"); // Java frame called from C; skip all C frames and return top C // frame of that chunk as the sender @@ -53,6 +58,9 @@ frame frame::sender_for_entry_frame(Regi map->clear(); assert(map->include_argument_oops(), "should be set by clear"); return frame(jfa->last_Java_sp(), jfa->last_Java_pc()); +#else + Unimplemented(); +#endif // PPC } frame frame::sender_for_interpreter_frame(RegisterMap *map) const diff -r 7fc7629ace8b -r d92cfc11ffe5 contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.hpp --- a/contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.hpp Tue Dec 18 04:59:22 2007 -0500 +++ b/contrib/templater/hotspot/src/cpu/CPU/vm/frame_CPU.hpp Tue Dec 18 05:12:22 2007 -0500 @@ -23,19 +23,19 @@ * From langel at redhat.com Wed Dec 19 08:03:12 2007 From: langel at redhat.com (Lillian Angel) Date: Wed, 19 Dec 2007 16:03:12 +0000 Subject: changeset in /hg/icedtea: 2007-12-19 Lillian Angel changeset 2d0912bbc1af in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=2d0912bbc1af description: 2007-12-19 Lillian Angel * patches/icedtea-version.patch: Added patch to change bug report url. * patches/icedtea-ecj.patch: Removed date from generated files. * generated/*: Updated files. diffstat: 11 files changed, 30 insertions(+), 11 deletions(-) ChangeLog | 6 +++ generated/com/sun/corba/se/impl/logging/ActivationSystemException.java | 1 generated/com/sun/corba/se/impl/logging/IORSystemException.java | 1 generated/com/sun/corba/se/impl/logging/InterceptorsSystemException.java | 1 generated/com/sun/corba/se/impl/logging/NamingSystemException.java | 1 generated/com/sun/corba/se/impl/logging/OMGSystemException.java | 1 generated/com/sun/corba/se/impl/logging/ORBUtilSystemException.java | 1 generated/com/sun/corba/se/impl/logging/POASystemException.java | 1 generated/com/sun/corba/se/impl/logging/UtilSystemException.java | 1 patches/icedtea-ecj.patch | 10 +++++ patches/icedtea-version.patch | 17 ++++++++-- diffs (160 lines): diff -r d92cfc11ffe5 -r 2d0912bbc1af ChangeLog --- a/ChangeLog Tue Dec 18 05:12:22 2007 -0500 +++ b/ChangeLog Wed Dec 19 11:02:06 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-18 Gary Benson + + * patches/icedtea-version.patch: Added patch to change bug report url. + * patches/icedtea-ecj.patch: Removed date from generated files. + * generated/*: Updated files. + 2007-12-18 Gary Benson * contrib/templater/*: Wrap all PPC-specifics with conditionals. diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/ActivationSystemException.java --- a/generated/com/sun/corba/se/impl/logging/ActivationSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/ActivationSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group ACTIVATION // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Activation.mc on Mon Dec 10 10:21:17 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/IORSystemException.java --- a/generated/com/sun/corba/se/impl/logging/IORSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/IORSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group IOR // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/IOR.mc on Mon Dec 10 10:21:18 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/InterceptorsSystemException.java --- a/generated/com/sun/corba/se/impl/logging/InterceptorsSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/InterceptorsSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group INTERCEPTORS // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Interceptors.mc on Mon Dec 10 10:21:18 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/NamingSystemException.java --- a/generated/com/sun/corba/se/impl/logging/NamingSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/NamingSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group NAMING // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Naming.mc on Mon Dec 10 10:21:18 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/OMGSystemException.java --- a/generated/com/sun/corba/se/impl/logging/OMGSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/OMGSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for standard exceptions // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/OMG.mc on Mon Dec 10 10:21:19 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/ORBUtilSystemException.java --- a/generated/com/sun/corba/se/impl/logging/ORBUtilSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/ORBUtilSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group ORBUTIL // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/ORBUtil.mc on Mon Dec 10 10:21:19 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/POASystemException.java --- a/generated/com/sun/corba/se/impl/logging/POASystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/POASystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group POA // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/POA.mc on Mon Dec 10 10:21:20 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af generated/com/sun/corba/se/impl/logging/UtilSystemException.java --- a/generated/com/sun/corba/se/impl/logging/UtilSystemException.java Tue Dec 18 05:12:22 2007 -0500 +++ b/generated/com/sun/corba/se/impl/logging/UtilSystemException.java Wed Dec 19 11:02:06 2007 -0500 @@ -1,7 +1,6 @@ // Log wrapper class for Sun private system exceptions in group UTIL // // Generated by mc.scm version 1.3, DO NOT EDIT BY HAND! -// Generated from input file ../../../../src/share/classes/com/sun/corba/se/spi/logging/data/Util.mc on Mon Dec 10 10:21:21 GMT-05:00 2007 package com.sun.corba.se.impl.logging ; diff -r d92cfc11ffe5 -r 2d0912bbc1af patches/icedtea-ecj.patch --- a/patches/icedtea-ecj.patch Tue Dec 18 05:12:22 2007 -0500 +++ b/patches/icedtea-ecj.patch Wed Dec 19 11:02:06 2007 -0500 @@ -960,3 +960,13 @@ diff -ru openjdk-ecj.orig/jaxp/make/buil /** * Maximum exponent a finite {@code double} variable may have. +--- openjdk.old/corba/src/share/classes/com/sun/tools/corba/se/logutil/scripts/mc.scm 2007-12-10 15:46:46.000000000 -0500 ++++ openjdk-ecj/corba/src/share/classes/com/sun/tools/corba/se/logutil/scripts/mc.scm 2007-12-19 09:53:07.000000000 -0500 +@@ -332,7 +332,6 @@ + (.printMsg pw "// Log wrapper class for Sun private system exceptions in group @" (list group))) + (.println pw "//") + (.printMsg pw "// Generated by mc.scm version @, DO NOT EDIT BY HAND!" (list version-string)) +- (.printMsg pw "// Generated from input file @ on @" (list infile (java.util.Date.))) + (.println pw))) + + (define (write-factory-method class-name exception-group-name pw) diff -r d92cfc11ffe5 -r 2d0912bbc1af patches/icedtea-version.patch --- a/patches/icedtea-version.patch Tue Dec 18 05:12:22 2007 -0500 +++ b/patches/icedtea-version.patch Wed Dec 19 11:02:06 2007 -0500 @@ -1,4 +1,4 @@ ---- openjdk-b20/openjdk/jdk/make/common/shared/Defs.gmk 2007-09-13 03:52:42.000000000 -0400 +--- openjdk.old/jdk/make/common/shared/Defs.gmk 2007-09-13 03:52:42.000000000 -0400 +++ openjdk/jdk/make/common/shared/Defs.gmk 2007-09-18 16:24:59.000000000 -0400 @@ -186,13 +186,13 @@ @@ -31,7 +31,7 @@ # FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set ifdef BUILD_NUMBER ---- ../openjdk-b21/openjdk/hotspot/build/hotspot_distro 2007-09-27 22:30:19.000000000 -0400 +--- openjdk.old/hotspot/build/hotspot_distro 2007-09-27 22:30:19.000000000 -0400 +++ openjdk/hotspot/build/hotspot_distro 2007-09-28 11:07:28.000000000 -0400 @@ -27,6 +27,6 @@ # @@ -42,7 +42,7 @@ COMPANY_NAME= -PRODUCT_NAME=OpenJDK +PRODUCT_NAME=IcedTea ---- ../openjdk-b21/openjdk/hotspot/build/windows/projectfiles/common/Makefile 2007-09-27 22:30:19.000000000 -0400 +--- openjdk.old/hotspot/build/windows/projectfiles/common/Makefile 2007-09-27 22:30:19.000000000 -0400 +++ openjdk/hotspot/build/windows/projectfiles/common/Makefile 2007-09-28 11:07:50.000000000 -0400 @@ -125,7 +125,7 @@ !if exists($(HOTSPOTWORKSPACE)\src\closed) @@ -53,3 +53,14 @@ !endif !endif +--- openjdk.old/hotspot/src/share/vm/runtime/arguments.cpp 2007-12-10 15:46:40.000000000 -0500 ++++ openjdk/hotspot/src/share/vm/runtime/arguments.cpp 2007-12-19 09:41:41.000000000 -0500 +@@ -25,7 +25,7 @@ + #include "incls/_precompiled.incl" + #include "incls/_arguments.cpp.incl" + +-#define DEFAULT_VENDOR_URL_BUG "http://java.sun.com/webapps/bugreport/crash.jsp" ++#define DEFAULT_VENDOR_URL_BUG "http://icedtea.classpath.org/bugzilla" + #define DEFAULT_JAVA_LAUNCHER "generic" + + char** Arguments::_jvm_flags_array = NULL; From langel at redhat.com Thu Dec 20 06:51:01 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 20 Dec 2007 14:51:01 +0000 Subject: changeset in /hg/icedtea: 2007-12-20 Lillian Angel changeset b1463b6fad4a in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=b1463b6fad4a description: 2007-12-20 Lillian Angel * Makefile.am: Added checks for ICEDTEA_HOME and SYSTEM_GCJ_DIR. * Makefile.in: Regenerate. diffstat: 3 files changed, 55 insertions(+), 20 deletions(-) ChangeLog | 5 +++++ Makefile.am | 35 +++++++++++++++++++++++++---------- Makefile.in | 35 +++++++++++++++++++++++++---------- diffs (116 lines): diff -r 2d0912bbc1af -r b1463b6fad4a ChangeLog --- a/ChangeLog Wed Dec 19 11:02:06 2007 -0500 +++ b/ChangeLog Thu Dec 20 09:49:54 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-19 Lillian Angel + + * Makefile.am: Added checks for ICEDTEA_HOME and SYSTEM_GCJ_DIR. + * Makefile.in: Regenerate. + 2007-12-19 Lillian Angel * patches/icedtea-version.patch: Added patch to change bug report url. diff -r 2d0912bbc1af -r b1463b6fad4a Makefile.am --- a/Makefile.am Wed Dec 19 11:02:06 2007 -0500 +++ b/Makefile.am Thu Dec 20 09:49:54 2007 -0500 @@ -302,7 +302,14 @@ stamps/bootstrap-directory-symlink.stamp stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP) mkdir -p bootstrap rm -f bootstrap/jdk1.6.0 - ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0 + if test -d $(ICEDTEA_HOME); \ + then \ + ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ + else \ + echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \ + "--with-icedtea-home=/path/to/java-icedtea-devel"; \ + exit 1; \ + fi if ! bootstrap/jdk1.6.0/bin/java -version ; \ then \ echo "bootstrap/jdk1.6.0/bin/java" \ @@ -333,15 +340,23 @@ stamps/bootstrap-directory-ecj.stamp: ln -sf $(XALAN2_SERIALIZER_JAR) \ bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar ln -sf $(XERCES2_JAR) bootstrap/ecj/lib/endorsed/xerces-j2.jar - mkdir -p bootstrap/ecj/jre/lib - ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) bootstrap/ecj/jre/lib/ - mkdir -p bootstrap/ecj/include - for i in $(SYSTEM_GCJ_DIR)/include/*; do \ - test -r $$i | continue; \ - i=`basename $$i`; \ - rm -f bootstrap/ecj/include/$$i; \ - ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \ - done + if test -d $(SYSTEM_GCJ_DIR); \ + then \ + mkdir -p bootstrap/ecj/jre/lib; \ + ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) \ + bootstrap/ecj/jre/lib/; \ + mkdir -p bootstrap/ecj/include; \ + for i in $(SYSTEM_GCJ_DIR)/include/*; do \ + test -r $$i | continue; \ + i=`basename $$i`; \ + rm -f bootstrap/ecj/include/$$i; \ + ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \ + done; \ + else \ + echo $(SYSTEM_GCJ_DIR) " cannot be found. Try reconfiguring with " \ + --with-gcj-home=/path/to/java-gcj-devel ; \ + exit 1; \ + fi if test -f bootstrap/jdk1.7.0/jre/lib/tools.jar ; \ then \ mkdir -p bootstrap/ecj/lib ; \ diff -r 2d0912bbc1af -r b1463b6fad4a Makefile.in --- a/Makefile.in Wed Dec 19 11:02:06 2007 -0500 +++ b/Makefile.in Thu Dec 20 09:49:54 2007 -0500 @@ -793,7 +793,14 @@ stamps/bootstrap-directory-symlink.stamp stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP) mkdir -p bootstrap rm -f bootstrap/jdk1.6.0 - ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0 + if test -d $(ICEDTEA_HOME); \ + then \ + ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ + else \ + echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \ + "--with-icedtea-home=/path/to/java-icedtea-devel"; \ + exit 1; \ + fi if ! bootstrap/jdk1.6.0/bin/java -version ; \ then \ echo "bootstrap/jdk1.6.0/bin/java" \ @@ -824,15 +831,23 @@ stamps/bootstrap-directory-ecj.stamp: ln -sf $(XALAN2_SERIALIZER_JAR) \ bootstrap/ecj/lib/endorsed/xalan-j2-serializer.jar ln -sf $(XERCES2_JAR) bootstrap/ecj/lib/endorsed/xerces-j2.jar - mkdir -p bootstrap/ecj/jre/lib - ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) bootstrap/ecj/jre/lib/ - mkdir -p bootstrap/ecj/include - for i in $(SYSTEM_GCJ_DIR)/include/*; do \ - test -r $$i | continue; \ - i=`basename $$i`; \ - rm -f bootstrap/ecj/include/$$i; \ - ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \ - done + if test -d $(SYSTEM_GCJ_DIR); \ + then \ + mkdir -p bootstrap/ecj/jre/lib; \ + ln -sf $(SYSTEM_GCJ_DIR)/jre/lib/$(INSTALL_ARCH_DIR) \ + bootstrap/ecj/jre/lib/; \ + mkdir -p bootstrap/ecj/include; \ + for i in $(SYSTEM_GCJ_DIR)/include/*; do \ + test -r $$i | continue; \ + i=`basename $$i`; \ + rm -f bootstrap/ecj/include/$$i; \ + ln -s $(SYSTEM_GCJ_DIR)/include/$$i bootstrap/ecj/include/$$i; \ + done; \ + else \ + echo $(SYSTEM_GCJ_DIR) " cannot be found. Try reconfiguring with " \ + --with-gcj-home=/path/to/java-gcj-devel ; \ + exit 1; \ + fi if test -f bootstrap/jdk1.7.0/jre/lib/tools.jar ; \ then \ mkdir -p bootstrap/ecj/lib ; \ From langel at redhat.com Thu Dec 20 11:15:06 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 20 Dec 2007 19:15:06 +0000 Subject: changeset in /hg/icedtea: 2007-12-20 Lillian Angel changeset a4e74bb1d1e6 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a4e74bb1d1e6 description: 2007-12-20 Lillian Angel Fixes Bug #65 * patches/icedtea-antialias.patch: Changed to only turn on AA when text AA is on. Otherwise, AA is ignored. diffstat: 2 files changed, 17 insertions(+), 49 deletions(-) ChangeLog | 6 +++ patches/icedtea-antialias.patch | 60 +++++++-------------------------------- diffs (86 lines): diff -r b1463b6fad4a -r a4e74bb1d1e6 ChangeLog --- a/ChangeLog Thu Dec 20 09:49:54 2007 -0500 +++ b/ChangeLog Thu Dec 20 14:13:59 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-20 Lillian Angel + + Fixes Bug #65 + * patches/icedtea-antialias.patch: Changed to only turn on AA when + text AA is on. Otherwise, AA is ignored. + 2007-12-20 Lillian Angel * Makefile.am: Added checks for ICEDTEA_HOME and SYSTEM_GCJ_DIR. diff -r b1463b6fad4a -r a4e74bb1d1e6 patches/icedtea-antialias.patch --- a/patches/icedtea-antialias.patch Thu Dec 20 09:49:54 2007 -0500 +++ b/patches/icedtea-antialias.patch Thu Dec 20 14:13:59 2007 -0500 @@ -1,58 +1,20 @@ ---- ../openjdkib23/openjdk/jdk/src/share/classes/sun/java2d/SunGraphics2D.java 2007-10-30 04:37:32.000000000 -0400 -+++ openjdk/jdk/src/share/classes/sun/java2d/SunGraphics2D.java 2007-11-13 12:58:04.000000000 -0500 -@@ -640,11 +640,7 @@ - aahint = ((SunHints.Value)frc.getAntiAliasingHint()).getIndex(); - } - if (aahint == SunHints.INTVAL_TEXT_ANTIALIAS_DEFAULT) { -- if (antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { -- aahint = SunHints.INTVAL_TEXT_ANTIALIAS_ON; -- } else { - aahint = SunHints.INTVAL_TEXT_ANTIALIAS_OFF; -- } - } else { - /* If we are in checkFontInfo because a rendering hint has been - * set then all pipes are revalidated. But we can also ---- ../openjdkb23/opienjdk/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-10-30 04:37:32.000000000 -0400 -+++ openjdk/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-11-13 14:32:06.000000000 -0500 -@@ -509,6 +509,7 @@ +--- openjdk.orig/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-12-10 15:47:39.000000000 -0500 ++++ openjdk/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-12-20 13:44:53.000000000 -0500 +@@ -509,7 +509,7 @@ // assert(sg2d.surfaceData == this); } } else if (sg2d.compositeState == sg2d.COMP_CUSTOM) { -+/* - if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { +- if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { ++ if (sg2d.textAntialiasHint == SunHints.INTVAL_TEXT_ANTIALIAS_ON) { if (sg2d.clipState == sg2d.CLIP_SHAPE) { sg2d.drawpipe = AAClipCompViaShape; -@@ -522,6 +523,7 @@ + sg2d.fillpipe = AAClipCompViaShape; +@@ -531,7 +531,7 @@ sg2d.textpipe = compText; } - } else { -+*/ - sg2d.drawpipe = compViaShape; - sg2d.fillpipe = compViaShape; - sg2d.shapepipe = compShape; -@@ -530,7 +532,7 @@ - } else { - sg2d.textpipe = compText; - } -- } -+/* } - } else if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { + } +- } else if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { ++ } else if (sg2d.textAntialiasHint == SunHints.INTVAL_TEXT_ANTIALIAS_ON) { sg2d.alphafill = getMaskFill(sg2d); // assert(sg2d.surfaceData == this); -@@ -549,7 +551,7 @@ - { - sg2d.textpipe = colorText; - } else { -- sg2d.textpipe = getTextPipe(sg2d, true /* AA==ON */); -+ sg2d.textpipe = getTextPipe(sg2d, true /* AA==ON *); - } - } - } else { -@@ -565,6 +567,7 @@ - sg2d.textpipe = paintText; - } - } -+*/ - } else if (sg2d.paintState > sg2d.PAINT_ALPHACOLOR || - sg2d.compositeState > sg2d.COMP_ISCOPY || - sg2d.clipState == sg2d.CLIP_SHAPE) + if (sg2d.alphafill != null) { From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 11:15:08 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 19:15:08 +0000 Subject: [Bug 65] Text antialiasing off unnecessarily Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=65 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Thu Dec 20 11:50:09 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 20 Dec 2007 19:50:09 +0000 Subject: changeset in /hg/icedtea: 2007-12-20 Lillian Angel changeset 0963914567ff in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=0963914567ff description: 2007-12-20 Lillian Angel Fixes Bug #65 * patches/icedtea-antialias.patch: Removed. Antialiasing works. diffstat: 4 files changed, 1 insertion(+), 24 deletions(-) ChangeLog | 3 +-- Makefile.am | 1 - Makefile.in | 1 - patches/icedtea-antialias.patch | 20 -------------------- diffs (59 lines): diff -r a4e74bb1d1e6 -r 0963914567ff ChangeLog --- a/ChangeLog Thu Dec 20 14:13:59 2007 -0500 +++ b/ChangeLog Thu Dec 20 14:49:01 2007 -0500 @@ -1,8 +1,7 @@ 2007-12-20 Lillian Angel Fixes Bug #65 - * patches/icedtea-antialias.patch: Changed to only turn on AA when - text AA is on. Otherwise, AA is ignored. + * patches/icedtea-antialias.patch: Removed. Antialiasing works. 2007-12-20 Lillian Angel diff -r a4e74bb1d1e6 -r 0963914567ff Makefile.am --- a/Makefile.am Thu Dec 20 14:13:59 2007 -0500 +++ b/Makefile.am Thu Dec 20 14:49:01 2007 -0500 @@ -163,7 +163,6 @@ ICEDTEA_PATCHES = \ patches/icedtea-version.patch \ patches/icedtea-text-relocations.patch \ patches/icedtea-graphics.patch \ - patches/icedtea-antialias.patch \ patches/icedtea-paths.patch \ patches/icedtea-debuginfo.patch \ patches/icedtea-ssl.patch \ diff -r a4e74bb1d1e6 -r 0963914567ff Makefile.in --- a/Makefile.in Thu Dec 20 14:13:59 2007 -0500 +++ b/Makefile.in Thu Dec 20 14:49:01 2007 -0500 @@ -278,7 +278,6 @@ ICEDTEA_PATCHES = \ patches/icedtea-version.patch \ patches/icedtea-text-relocations.patch \ patches/icedtea-graphics.patch \ - patches/icedtea-antialias.patch \ patches/icedtea-paths.patch \ patches/icedtea-debuginfo.patch \ patches/icedtea-ssl.patch \ diff -r a4e74bb1d1e6 -r 0963914567ff patches/icedtea-antialias.patch --- a/patches/icedtea-antialias.patch Thu Dec 20 14:13:59 2007 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ ---- openjdk.orig/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-12-10 15:47:39.000000000 -0500 -+++ openjdk/jdk/src/share/classes/sun/java2d/SurfaceData.java 2007-12-20 13:44:53.000000000 -0500 -@@ -509,7 +509,7 @@ - // assert(sg2d.surfaceData == this); - } - } else if (sg2d.compositeState == sg2d.COMP_CUSTOM) { -- if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { -+ if (sg2d.textAntialiasHint == SunHints.INTVAL_TEXT_ANTIALIAS_ON) { - if (sg2d.clipState == sg2d.CLIP_SHAPE) { - sg2d.drawpipe = AAClipCompViaShape; - sg2d.fillpipe = AAClipCompViaShape; -@@ -531,7 +531,7 @@ - sg2d.textpipe = compText; - } - } -- } else if (sg2d.antialiasHint == SunHints.INTVAL_ANTIALIAS_ON) { -+ } else if (sg2d.textAntialiasHint == SunHints.INTVAL_TEXT_ANTIALIAS_ON) { - sg2d.alphafill = getMaskFill(sg2d); - // assert(sg2d.surfaceData == this); - if (sg2d.alphafill != null) { From langel at redhat.com Thu Dec 20 11:50:57 2007 From: langel at redhat.com (Lillian Angel) Date: Thu, 20 Dec 2007 19:50:57 +0000 Subject: changeset in /hg/icedtea: Added to Changelog missing info. Message-ID: changeset a208317f639b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a208317f639b description: Added to Changelog missing info. 2007-12-20 Lillian Angel Fixes Bug #65 * patches/icedtea-antialias.patch: Removed. Antialiasing works. * Makefile.am: Removed antialias patch. * Makefile.in: Regenerate. diffstat: 1 file changed, 2 insertions(+) ChangeLog | 2 ++ diffs (12 lines): diff -r 0963914567ff -r a208317f639b ChangeLog --- a/ChangeLog Thu Dec 20 14:49:01 2007 -0500 +++ b/ChangeLog Thu Dec 20 14:49:51 2007 -0500 @@ -2,6 +2,8 @@ 2007-12-20 Lillian Angel From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:06:35 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:06:35 +0000 Subject: [Bug 56] Rotated glyph placement Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=56 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from langel at redhat.com 2007-12-20 20:06 ------- Doesnt seem to be a problem any more. Closing. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:07:46 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:07:46 +0000 Subject: [Bug 49] Round line caps distorted Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=49 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from langel at redhat.com 2007-12-20 20:07 ------- Not a bug anymore. Closing. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:08:06 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:08:06 +0000 Subject: [Bug 34] Anti-aliased graphics Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=34 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:19:28 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:19:28 +0000 Subject: [Bug 49] Round line caps distorted Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=49 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Comment #2 from langel at redhat.com 2007-12-20 20:19 ------- This is only a bug when Anti-Aliasing is turned off. Re-opening bug. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:32:35 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:32:35 +0000 Subject: [Bug 64] Batik testsuite rendering glitches Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=64 ------- Comment #2 from langel at redhat.com 2007-12-20 20:32 ------- 3D (coloured stripes) is ok now. barChart - only border issue (a problem in most tests) Attached html of results -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 20 12:33:24 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 20 Dec 2007 20:33:24 +0000 Subject: [Bug 64] Batik testsuite rendering glitches Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=64 ------- Comment #3 from langel at redhat.com 2007-12-20 20:33 ------- Created an attachment (id=40) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=40&action=view) Test results view with: htmlview index.html -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From listas at enelserver.com Thu Dec 20 18:22:05 2007 From: listas at enelserver.com (Leonel Nunez) Date: Thu, 20 Dec 2007 19:22:05 -0700 (MST) Subject: icedtea on production Message-ID: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> Hello : Is icedtea ready for production or any brave icedtea fan using it in production ?? Thank you Leonel From aph at redhat.com Fri Dec 21 02:19:48 2007 From: aph at redhat.com (Andrew Haley) Date: Fri, 21 Dec 2007 10:19:48 +0000 Subject: icedtea on production In-Reply-To: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> References: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> Message-ID: <18283.37700.288905.905464@zebedee.pink> Leonel Nunez writes: > Hello : > > Is icedtea ready for production IcedTea is derived from OpenJDK, Sun's open-source implementation of the Java SE platform. At this time the build from which IcedTea was constructed corresponds to an early build of JDK 7. When JDK 7 is complete it will implement the Java SE 7 Platform Specification. Work on that specification is underway, but far from final. Any APIs in the JDK 7 implementation, whether new or old, are therefore subject to minor adjustments, major revisions, or even outright removal between now and the time that the Java SE 7 Platform Specification is finalized. Please take these facts into account before depending upon IcedTea. > or any brave icedtea fan using it in production ?? IcedTea is in F8, and I don't doubt some brave souls will use F8 for that. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 From bugzilla-daemon at icedtea.classpath.org Fri Dec 21 05:16:18 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2007 13:16:18 +0000 Subject: [Bug 90] New: applet does not start, errornous parsing of applet tag? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=90 Summary: applet does not start, errornous parsing of applet tag? Product: IcedTea Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: IcedTea AssignedTo: unassigned at icedtea.classpath.org ReportedBy: stlman at poczta.fm Greetings I was trying to run the applet available at http://mapa.um.warszawa.pl/a_mapaTBD.html. But it does not start. Of course it works with sun's java6 plugin. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Fri Dec 21 05:39:00 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 21 Dec 2007 13:39:00 +0000 Subject: changeset in /hg/icedtea: 2007-12-21 Lillian Angel changeset 8ae161d10f7b in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=8ae161d10f7b description: 2007-12-21 Lillian Angel * Makefile.am: Took out invalid check for ICEDTEA_HOME. * Makefile.in: Regenerate. diffstat: 3 files changed, 7 insertions(+), 16 deletions(-) ChangeLog | 5 +++++ Makefile.am | 9 +-------- Makefile.in | 9 +-------- diffs (50 lines): diff -r a208317f639b -r 8ae161d10f7b ChangeLog --- a/ChangeLog Thu Dec 20 14:49:51 2007 -0500 +++ b/ChangeLog Fri Dec 21 08:37:52 2007 -0500 @@ -1,3 +1,8 @@ 2007-12-20 Lillian Angel + + * Makefile.am: Took out invalid check for ICEDTEA_HOME. + * Makefile.in: Regenerate. + 2007-12-20 Lillian Angel Fixes Bug #65 diff -r a208317f639b -r 8ae161d10f7b Makefile.am --- a/Makefile.am Thu Dec 20 14:49:51 2007 -0500 +++ b/Makefile.am Fri Dec 21 08:37:52 2007 -0500 @@ -301,14 +301,7 @@ stamps/bootstrap-directory-symlink.stamp stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP) mkdir -p bootstrap rm -f bootstrap/jdk1.6.0 - if test -d $(ICEDTEA_HOME); \ - then \ - ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ - else \ - echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \ - "--with-icedtea-home=/path/to/java-icedtea-devel"; \ - exit 1; \ - fi + ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ if ! bootstrap/jdk1.6.0/bin/java -version ; \ then \ echo "bootstrap/jdk1.6.0/bin/java" \ diff -r a208317f639b -r 8ae161d10f7b Makefile.in --- a/Makefile.in Thu Dec 20 14:49:51 2007 -0500 +++ b/Makefile.in Fri Dec 21 08:37:52 2007 -0500 @@ -792,14 +792,7 @@ stamps/bootstrap-directory-symlink.stamp stamps/bootstrap-directory-symlink.stamp: $(BOOTSTRAP_DIRECTORY_STAMP) mkdir -p bootstrap rm -f bootstrap/jdk1.6.0 - if test -d $(ICEDTEA_HOME); \ - then \ - ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ - else \ - echo $(ICEDTEA_HOME) " cannot be found. Try reconfiguring with " \ - "--with-icedtea-home=/path/to/java-icedtea-devel"; \ - exit 1; \ - fi + ln -sf $(ICEDTEA_HOME) bootstrap/jdk1.6.0; \ if ! bootstrap/jdk1.6.0/bin/java -version ; \ then \ echo "bootstrap/jdk1.6.0/bin/java" \ From bugzilla-daemon at icedtea.classpath.org Fri Dec 21 05:46:08 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2007 13:46:08 +0000 Subject: [Bug 90] applet does not start, errornous parsing of applet tag? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=90 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Comment #1 from langel at redhat.com 2007-12-21 13:46 ------- Our plugin does not yet support security applets. this is a duplicate of http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=79 *** This bug has been marked as a duplicate of bug 79 *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 21 05:46:08 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2007 13:46:08 +0000 Subject: [Bug 79] security type applet doesnt work Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=79 langel at redhat.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stlman at poczta.fm ------- Comment #2 from langel at redhat.com 2007-12-21 13:46 ------- *** Bug 90 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Fri Dec 21 05:46:39 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2007 13:46:39 +0000 Subject: [Bug 90] applet does not start, errornous parsing of applet tag? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=90 ------- Comment #2 from stlman at poczta.fm 2007-12-21 13:46 ------- Created an attachment (id=41) --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=41&action=view) Error messages printed by firefox. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From listas at enelserver.com Fri Dec 21 06:19:31 2007 From: listas at enelserver.com (Leonel Nunez) Date: Fri, 21 Dec 2007 07:19:31 -0700 (MST) Subject: icedtea on production In-Reply-To: <18283.37700.288905.905464@zebedee.pink> References: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> <18283.37700.288905.905464@zebedee.pink> Message-ID: <46706.189.155.249.106.1198246771.squirrel@enelserver.com> > Leonel Nunez writes: > > Hello : > > > > Is icedtea ready for production > > IcedTea is derived from OpenJDK, Sun's open-source implementation of > the Java SE platform. At this time the build from which IcedTea was > constructed corresponds to an early build of JDK 7. When JDK 7 > is complete it will implement the Java SE 7 Platform Specification. > Work on that specification is underway, but far from final. Any APIs > in the JDK 7 implementation, whether new or old, are therefore subject > to minor adjustments, major revisions, or even outright removal > between now and the time that the Java SE 7 Platform Specification is > finalized. Please take these facts into account before depending upon > IcedTea. So as long as I use only the current features JDK6 there won't be any changes except for the binary blogs changes made I assume there won't be problems. > > > or any brave icedtea fan using it in production ?? > > IcedTea is in F8, and I don't doubt some brave souls will use F8 for > that. so there are not security updates for iced tea yet ?? I mean any security bug found in SUN's jdk and gets patched, that patch will make it to icedtea ? > > Andrew. > > -- > Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, > Berkshire, SL4 1TE, UK > Registered in England and Wales No. 3798903 > Thank you Leonel From bugzilla-daemon at icedtea.classpath.org Fri Dec 21 06:52:48 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Fri, 21 Dec 2007 14:52:48 +0000 Subject: [Bug 90] applet does not start, errornous parsing of applet tag? Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=90 ------- Comment #3 from langel at redhat.com 2007-12-21 14:52 ------- The parsing issue has been fixed in the build (as of 1 week ago), it has not been pushed into rawhide yet. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From aph at redhat.com Fri Dec 21 08:11:59 2007 From: aph at redhat.com (Andrew Haley) Date: Fri, 21 Dec 2007 16:11:59 +0000 Subject: icedtea on production In-Reply-To: <46706.189.155.249.106.1198246771.squirrel@enelserver.com> References: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> <18283.37700.288905.905464@zebedee.pink> <46706.189.155.249.106.1198246771.squirrel@enelserver.com> Message-ID: <18283.58831.935173.29885@zebedee.pink> Leonel Nunez writes: > > Leonel Nunez writes: > > > Hello : > > > > > > Is icedtea ready for production > > > > IcedTea is derived from OpenJDK, Sun's open-source implementation of > > the Java SE platform. At this time the build from which IcedTea was > > constructed corresponds to an early build of JDK 7. When JDK 7 > > is complete it will implement the Java SE 7 Platform Specification. > > Work on that specification is underway, but far from final. Any APIs > > in the JDK 7 implementation, whether new or old, are therefore subject > > to minor adjustments, major revisions, or even outright removal > > between now and the time that the Java SE 7 Platform Specification is > > finalized. Please take these facts into account before depending upon > > IcedTea. > > So as long as I use only the current features JDK6 there won't be any > changes except for the binary blogs changes made I assume there won't be > problems. OpenJDK is not compatible with JDK 6. A version that is compatible with JDK 6 has been proposed by Joe.Darcy at Sun.COM, and will be forthcoming next year. > > > or any brave icedtea fan using it in production ?? > > > > IcedTea is in F8, and I don't doubt some brave souls will use F8 for > > that. > > so there are not security updates for iced tea yet ?? > > I mean any security bug found in SUN's jdk and gets patched, that > patch will make it to icedtea ? We are continuously updating IcedTea from OpenJDK. If someone brings a bug to our attention we'll try to get a fix in, but we're not going to guarantee anything. Really, if you care about security updates you don't want something as bleeding-edge as this. Andrew. -- Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK Registered in England and Wales No. 3798903 From listas at enelserver.com Fri Dec 21 08:21:22 2007 From: listas at enelserver.com (Leonel Nunez) Date: Fri, 21 Dec 2007 09:21:22 -0700 (MST) Subject: icedtea on production In-Reply-To: <18283.58831.935173.29885@zebedee.pink> References: <51627.189.155.232.130.1198203725.squirrel@enelserver.com> <18283.37700.288905.905464@zebedee.pink> <46706.189.155.249.106.1198246771.squirrel@enelserver.com> <18283.58831.935173.29885@zebedee.pink> Message-ID: <60855.189.155.249.106.1198254082.squirrel@enelserver.com> > Leonel Nunez writes: > > > Leonel Nunez writes: > > > > Hello : > > > > > > > > Is icedtea ready for production > > > > > > IcedTea is derived from OpenJDK, Sun's open-source implementation of > > > the Java SE platform. At this time the build from which IcedTea was > > > constructed corresponds to an early build of JDK 7. When JDK 7 > > > is complete it will implement the Java SE 7 Platform Specification. > > > Work on that specification is underway, but far from final. Any APIs > > > in the JDK 7 implementation, whether new or old, are therefore > subject > > > to minor adjustments, major revisions, or even outright removal > > > between now and the time that the Java SE 7 Platform Specification is > > > finalized. Please take these facts into account before depending > upon > > > IcedTea. > > > > So as long as I use only the current features JDK6 there won't be any > > changes except for the binary blogs changes made I assume there won't > be > > problems. > > OpenJDK is not compatible with JDK 6. A version that is compatible > with JDK 6 has been proposed by Joe.Darcy at Sun.COM, and will be > forthcoming next year. > > > > > or any brave icedtea fan using it in production ?? > > > > > > IcedTea is in F8, and I don't doubt some brave souls will use F8 for > > > that. > > > > so there are not security updates for iced tea yet ?? > > > > I mean any security bug found in SUN's jdk and gets patched, that > > patch will make it to icedtea ? > > We are continuously updating IcedTea from OpenJDK. If someone brings > a bug to our attention we'll try to get a fix in, but we're not going > to guarantee anything. Really, if you care about security updates you > don't want something as bleeding-edge as this. > I was thinking that Thank you very much > Andrew. > > -- > Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, > Berkshire, SL4 1TE, UK > Registered in England and Wales No. 3798903 > Leonel From bugzilla-daemon at icedtea.classpath.org Thu Dec 27 09:05:38 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2007 17:05:38 +0000 Subject: [Bug 21] DataBuffers not compatible Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=21 ------- Comment #5 from langel at redhat.com 2007-12-27 17:05 ------- Sun says this is not a bug and a simple api change in jdk 1.7. we will have to work with this until their databuffer code is released. -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From bugzilla-daemon at icedtea.classpath.org Thu Dec 27 09:08:34 2007 From: bugzilla-daemon at icedtea.classpath.org (bugzilla-daemon at icedtea.classpath.org) Date: Thu, 27 Dec 2007 17:08:34 +0000 Subject: [Bug 59] SimpleDateFormat default constructor creates the same objects Message-ID: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=59 ------- Comment #10 from langel at redhat.com 2007-12-27 17:08 ------- Josh - has this bug been accepted by sun? do you have the link? -- Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. From langel at redhat.com Fri Dec 28 06:52:55 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 28 Dec 2007 14:52:55 +0000 Subject: changeset in /hg/icedtea: 2007-12-28 Lillian Angel changeset 4e2ae53637f0 in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=4e2ae53637f0 description: 2007-12-28 Lillian Angel * rt/java/awt/image/Raster.java (createPackedRaster): Changed to create a BytePackedRaster instead of a ByteInterleavedRaster. diffstat: 2 files changed, 12 insertions(+), 4 deletions(-) ChangeLog | 6 ++++++ rt/java/awt/image/Raster.java | 10 ++++++---- diffs (40 lines): diff -r 8ae161d10f7b -r 4e2ae53637f0 ChangeLog --- a/ChangeLog Fri Dec 21 08:37:52 2007 -0500 +++ b/ChangeLog Fri Dec 28 09:51:42 2007 -0500 @@ -1,3 +1,9 @@ 2007-12-21 Lillian Angel + + * rt/java/awt/image/Raster.java + (createPackedRaster): Changed to create a BytePackedRaster instead of + a ByteInterleavedRaster. + 2007-12-21 Lillian Angel * Makefile.am: Took out invalid check for ICEDTEA_HOME. diff -r 8ae161d10f7b -r 4e2ae53637f0 rt/java/awt/image/Raster.java --- a/rt/java/awt/image/Raster.java Fri Dec 21 08:37:52 2007 -0500 +++ b/rt/java/awt/image/Raster.java Fri Dec 28 09:51:42 2007 -0500 @@ -329,8 +329,9 @@ public class Raster { SampleModel sm = new MultiPixelPackedSampleModel(dataType, w, h, bitsPerBand); - if (dataType == DataBuffer.TYPE_BYTE) - return new ByteInterleavedRaster(sm, location); + if ((dataType == DataBuffer.TYPE_BYTE) && + (bitsPerBand == 1 || bitsPerBand == 2 || bitsPerBand == 4)) + return new BytePackedRaster(sm, location); else if (dataType == DataBuffer.TYPE_USHORT || dataType == DataBuffer.TYPE_INT) return new SunWritableRaster(sm, location); else @@ -480,8 +481,9 @@ public class Raster if (location == null) location = new Point(0,0); - if (dataBuffer.getDataType() == DataBuffer.TYPE_BYTE) - return new ByteInterleavedRaster(sm, dataBuffer, location); + if ((dataBuffer.getDataType() == DataBuffer.TYPE_BYTE) && + (bitsPerPixel == 1 || bitsPerPixel == 2 || bitsPerPixel == 4)) + return new BytePackedRaster(sm, dataBuffer, location); else if (dataBuffer.getDataType() == DataBuffer.TYPE_USHORT || dataBuffer.getDataType() == DataBuffer.TYPE_INT) return new SunWritableRaster(sm, dataBuffer, location); From langel at redhat.com Fri Dec 28 07:14:02 2007 From: langel at redhat.com (Lillian Angel) Date: Fri, 28 Dec 2007 15:14:02 +0000 Subject: changeset in /hg/icedtea: 2007-12-28 Lillian Angel changeset e7bd40b829be in /hg/icedtea details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=e7bd40b829be description: 2007-12-28 Lillian Angel * rt/java/awt/image/Raster.java (createPackedRaster): Added dataType check and fixed if-else conditions. (createPackedRaster): Likewise. diffstat: 2 files changed, 20 insertions(+), 11 deletions(-) ChangeLog | 7 +++++++ rt/java/awt/image/Raster.java | 24 +++++++++++++----------- diffs (74 lines): diff -r 4e2ae53637f0 -r e7bd40b829be ChangeLog --- a/ChangeLog Fri Dec 28 09:51:42 2007 -0500 +++ b/ChangeLog Fri Dec 28 10:12:51 2007 -0500 @@ -1,3 +1,10 @@ 2007-12-28 Lillian Angel + + * rt/java/awt/image/Raster.java + (createPackedRaster): Added dataType check and fixed if-else + conditions. + (createPackedRaster): Likewise. + 2007-12-28 Lillian Angel * rt/java/awt/image/Raster.java diff -r 4e2ae53637f0 -r e7bd40b829be rt/java/awt/image/Raster.java --- a/rt/java/awt/image/Raster.java Fri Dec 28 09:51:42 2007 -0500 +++ b/rt/java/awt/image/Raster.java Fri Dec 28 10:12:51 2007 -0500 @@ -325,6 +325,10 @@ public class Raster if (location == null) location = new Point(0,0); + if (dataType != DataBuffer.TYPE_BYTE && dataType != DataBuffer.TYPE_USHORT && + dataType != DataBuffer.TYPE_INT) + throw new IllegalArgumentException("Data type is not supported."); + if (bands == 1) { SampleModel sm = new MultiPixelPackedSampleModel(dataType, w, h, bitsPerBand); @@ -332,10 +336,8 @@ public class Raster if ((dataType == DataBuffer.TYPE_BYTE) && (bitsPerBand == 1 || bitsPerBand == 2 || bitsPerBand == 4)) return new BytePackedRaster(sm, location); - else if (dataType == DataBuffer.TYPE_USHORT || dataType == DataBuffer.TYPE_INT) + else return new SunWritableRaster(sm, location); - else - throw new IllegalArgumentException("Data type is not supported."); } else { @@ -355,10 +357,8 @@ public class Raster return new ByteInterleavedRaster(sm, location); else if (dataType == DataBuffer.TYPE_USHORT) return new ShortInterleavedRaster(sm, location); - else if (dataType == DataBuffer.TYPE_INT) + else return new IntegerInterleavedRaster(sm, location); - else - throw new IllegalArgumentException("Data type is not supported."); } } @@ -481,14 +481,16 @@ public class Raster if (location == null) location = new Point(0,0); - if ((dataBuffer.getDataType() == DataBuffer.TYPE_BYTE) && + int dataType = dataBuffer.getDataType(); + if (dataType != DataBuffer.TYPE_BYTE && dataType != DataBuffer.TYPE_USHORT && + dataType != DataBuffer.TYPE_INT) + throw new IllegalArgumentException("Data type is not supported."); + + if ((dataType == DataBuffer.TYPE_BYTE) && (bitsPerPixel == 1 || bitsPerPixel == 2 || bitsPerPixel == 4)) return new BytePackedRaster(sm, dataBuffer, location); - else if (dataBuffer.getDataType() == DataBuffer.TYPE_USHORT - || dataBuffer.getDataType() == DataBuffer.TYPE_INT) + else return new SunWritableRaster(sm, dataBuffer, location); - else - throw new IllegalArgumentException("Data type is not supported."); } /**