Thu, 09 Oct 2008 16:21:04 +0100
6586091: javac crashes with StackOverflowError
Summary: Types.adapt should avoid infinite loops by exploiting a local cache
Reviewed-by: jjg
duke@1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
duke@1 | 2 | <!-- |
duke@1 | 3 | Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. |
duke@1 | 4 | |
duke@1 | 5 | Redistribution and use in source and binary forms, with or without |
duke@1 | 6 | modification, are permitted provided that the following conditions |
duke@1 | 7 | are met: |
duke@1 | 8 | |
duke@1 | 9 | - Redistributions of source code must retain the above copyright |
duke@1 | 10 | notice, this list of conditions and the following disclaimer. |
duke@1 | 11 | |
duke@1 | 12 | - Redistributions in binary form must reproduce the above copyright |
duke@1 | 13 | notice, this list of conditions and the following disclaimer in the |
duke@1 | 14 | documentation and/or other materials provided with the distribution. |
duke@1 | 15 | |
duke@1 | 16 | - Neither the name of Sun Microsystems nor the names of its |
duke@1 | 17 | contributors may be used to endorse or promote products derived |
duke@1 | 18 | from this software without specific prior written permission. |
duke@1 | 19 | |
duke@1 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS |
duke@1 | 21 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
duke@1 | 22 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
duke@1 | 23 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
duke@1 | 24 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
duke@1 | 25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
duke@1 | 26 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
duke@1 | 27 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
duke@1 | 28 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
duke@1 | 29 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
duke@1 | 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
duke@1 | 31 | --> |
duke@1 | 32 | |
duke@1 | 33 | <!-- |
duke@1 | 34 | Build file for the annotation processing tool, apt. |
duke@1 | 35 | - The basic functionality of the build is imported from make/build.xml. |
duke@1 | 36 | - Additional support for NetBeans actions is imported from |
duke@1 | 37 | make/netbeans/common/shared.xml. |
duke@1 | 38 | - This file gives the final customizations. |
duke@1 | 39 | This tool is now deprecated, and any further development is strongly |
duke@1 | 40 | discouraged. |
duke@1 | 41 | --> |
duke@1 | 42 | |
duke@1 | 43 | <project name="apt" default="build" basedir="../../.."> |
duke@1 | 44 | <property name="tool.name" value="apt"/> |
duke@1 | 45 | |
duke@1 | 46 | <import file="../common/shared.xml"/> |
duke@1 | 47 | |
duke@1 | 48 | <!-- |
duke@1 | 49 | Alias the following imported targets, giving descriptions as appropriate. |
duke@1 | 50 | NetBeans will emphasize targets with descriptions in the Ant Targets list, |
duke@1 | 51 | and will display the targets in the context menu (under Run Target) for |
duke@1 | 52 | this file in the Projects viewer. |
duke@1 | 53 | --> |
duke@1 | 54 | |
duke@1 | 55 | <target name="build" depends="build-apt" description="Build the annotation processing tool, apt."/> |
duke@1 | 56 | |
duke@1 | 57 | <target name="debug" depends="-debug-nb" description="Debug the annotation processing tool, apt."/> |
duke@1 | 58 | |
duke@1 | 59 | <target name="-jtreg" depends="jtreg-apt"/> |
duke@1 | 60 | <target name="jtreg" depends="-jtreg-nb" description="Run the jtreg tests for the annotation processing tool, apt."/> |
duke@1 | 61 | |
duke@1 | 62 | </project> |