# HG changeset patch # User gnu_andrew@member.fsf.org # Date 1196716050 0 # Node ID dc6721b486c70c96d1d4de86d96623f45b99a951 # Parent 23c4c196778a3b704ee0e0dad28cd4ea8fd6b742 Add javap support. 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 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 @@ $(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/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 "$@"