This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: compiling problems or am i asking for a flaming
- To: "'Bryce McKinlay'" <bryce at albatross dot co dot nz>, "Martin, David S" <david dot s dot martin at intel dot com>
- Subject: RE: compiling problems or am i asking for a flaming
- From: "Martin, David S" <david dot s dot martin at intel dot com>
- Date: Fri, 2 Mar 2001 13:18:06 -0800
- Cc: "'java at gcc dot gnu dot org'" <java at gcc dot gnu dot org>
Bryce,
I am using gcj v2.95.3.
This is what the source file looks like:
X----------------Start Source---------------X
/*
* STARTLEGAL
*
* Intel Corporation Open Source License for
* GenCAM API v1.0a, test
*
* Copyright (c) 2000 Intel Corporation
* All rights reserved.
*
* Intel Corporation hereby grants Licensee a copyright license to
reproduce,
* prepare derivative works of, publicly display, publicly perform,
distribute
* and sublicense in source and binary forms, with or without
* modification, the GenCAM API, provided that the following conditions are
met:
*
* · Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* · Redistributions in binary form must reproduce the above copyright
notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* · Neither the name of the Intel Corporation nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS GENCAM API ("SOFTWARE") IS PROVIDED BY INTEL CORPORATION ``AS
* IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE
* POSSIBILITY OF SUCH DAMAGE. LICENSEE ASSUMES SOLE RESPONSIBILITY FOR
* DETERMINING THE SUITABLITY OF THIS SOFTWARE TO RECIPIENT'S NEEDS.
*
* EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF YOUR
* JURISDICTION. It is licensee's responsibility to comply with any export
* regulations applicable in licensee's jurisdiction. Under CURRENT (May
2000)
* U.S. export regulations this software is eligible for export from the
U.S.
* and can be downloaded by or otherwise exported or reexported worldwide
* EXCEPT to U.S. embargoed destinations which include Cuba, Iraq, Libya,
North
* Korea, Iran, Syria, Sudan, Afghanistan and any other country to which the
* U.S. has embargoed goods and services.
*
* ENDLEGAL
*/
/**
* Title: GenCAM API<p>
* Copyright: Copyright (c) 2000 <p>
* Company: Intel Corporation
* @author David Martin, email david.s.martin@intel.com
* @version 1.0a
*/
package GenCam.Util;
import java.io.*;
/**
* The exception is thrown when a get method is called on a required field
of
* the GenCAM API and that field is not set.
*/
public class MissingDataException extends IOException
{
/**
* Constructs an <code>MissingDataException</code> with the specified
detail
* message. The error message string <code>s</code> cal later be
retrieved by
* the <code>{@link java.lang.Throwable#getMessage}</code> method of the
* class <code>java.lang.Throwable</code>.
* @param s the detailed message
*/
public MissingDataException(String s)
{
super(s);
}
public void printStackTrace(){
if(GenCam.Util.GenCamObject.libraryOutput){
super.printStackTrace();
}
}
public void printStackTrace(PrintStream s){
if(GenCam.Util.GenCamObject.libraryOutput){
super.printStackTrace(s);
}
}
public void printStackTrace(PrintWriter w){
if(GenCam.Util.GenCamObject.libraryOutput){
super.printStackTrace(w);
}
}
}
X--------------------End Source--------------------X
The source file is part of an open source API that implements the IPC-2511A
standard.
David
-----Original Message-----
From: Bryce McKinlay [mailto:bryce@albatross.co.nz]
Sent: Friday, March 02, 2001 1:09 PM
To: Martin, David S
Cc: 'java@gcc.gnu.org'
Subject: Re: compiling problems or am i asking for a flaming
"Martin, David S" wrote:
> I am tring to compile a java source file into an object. The java source
> file extends the IOException class but when I try to compile I get this
> error message and a core file:
> gcj: Internal compiler error: program jc1 got fatal signal 11
This may be a bug in the compiler. It would be helpful if you could post
the problem source file, or a minimal test case derived from it. Also,
please let us know exactly what version of gcj you're using ("gcj -v").
thanks
[ bryce ]