-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.1.8, 1.2.0, 1.2.1, 1.2.2
-
generic, x86, sparc
-
generic, solaris_2.5.1, windows_95, windows_98, windows_nt
nterpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
------------------
when I tried again I got a windows exception in the JVM.dll module,
I then tried again compiling and it worked
(Review ID: 98413)
======================================================================
Name: skT88420 Date: 12/08/99
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
I recieved this message while running my program:
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'ParseLine.procI (Ljava/lang/String;Ljava/lang/String;)J': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
I have no idea what this means. I'm just doing as it says.
I have copied the routine ParseLine.ProcI(String, String) below and can provide
more code if needed.
I selected 'no impact below', but I really can't tell.
I had many System.out.print() statements for debugging throughout my code,
inclusing this routine. I first got my error message when I did a 'clean' build
w/o these.
private long procI(String name, String rest) throws ParseException
{
long rv=0;
StringTokenizer st=new StringTokenizer(rest, ",()");
int op=0; int rs=0; int rt=0; int imm=0;
if(name.equals("lui"))
{
op=15;
rt=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
}
else if(name.equals("lw") || name.equals("sw"))
{
if(name.equals("lw")) op=35; else op=43;
rt=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
rs=parseRegister(st.nextToken(), name + rest);
}
else if(name.equals("beq") || name.equals("bne"))
{
if(name.equals("beq")) op=4; else op=5;
rs=parseRegister(st.nextToken(), name + rest);
rt=parseRegister(st.nextToken(), name + rest);
String addr=st.nextToken().trim();
imm=-1;
try{
imm=new Integer(addr).intValue()/4;
}catch(Exception e){}
if (imm==-1)
for(int i=0; i<c.label.length; i++)
if(c.label[i].equals(addr)) {imm=(int)(c.laddr[i] - c.main.getCounter
())/4; break; }
if (imm==-1) throw new ParseException("Invalid Label:\t" + name + " " +
rest );
}
else{
if(name.equals("addi")) op=8; else if(name.equals("andi")) op=12;
else if(name.equals("ori")) op=13; else op=10;
rt=parseRegister(st.nextToken(), name + rest);
rs=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
}
rv=op*(long)Math.pow(2,26)+rs*(long)Math.pow(2,21)+rt*(long)Math.pow(2,16)
+imm;
return rv;
}
(Review ID: 98780)
======================================================================
Name: skT88420 Date: 12/13/99
D:\COURSE\CSE605\Consistency>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
//
// File: Consistency.java
// Created: Bora I. Kumova; 09 Dec 1999
// Updated: Bora I. Kumova; 10 Dec 1999
// Updated:
//
package Consistency;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
define MIN "min";
define MAX "max";
public class Consistency extends Applet
implements ActionListener {
Label DomainLable=new Label("D of (Z,D,C):Dmin,Dmax ");
TextField defineDomainTextField=new TextField("", 15);
Label ZDLable=new Label("Z and D:
Zi=Dimin,Dimax ");
TextArea defineZDTextArea=new TextArea("", 5, 30);
Label CLable=new Label("C: C1,C2, ... ,Cm (#,<,>,=) ");
TextArea defineCTextArea=new TextArea("", 5, 30);
Label nodeLable=new Label("Node:(blank=tree)");
TextField nodeConsistTextField=new TextField("", 3);
Button nodeConsistButton=new Button("NodeConsistency");
Label arcLable=new Label(" Arc:(blank=tree)");
TextField arcConsistTextField=new TextField("", 10);
Button arcConsistButton=new Button("ArcConsistency");
Label pathLable=new Label("Path:(blank=tree)");
TextField pathConsistTextField=new TextField("", 20);
Button pathConsistButton=new Button("PathConsistency");
TextArea resultDTextArea=new TextArea("", 5, 30);
public Consistency() {
buildInterface();
}
//
// User Interface
//
private void buildInterface() {
setLayout(new FlowLayout(FlowLayout.CENTER, 10, 5));
add(DomainLable);
add(ZDLable);
add(CLable);
add(defineDomainTextField);
add(defineZDTextArea);
add(defineCTextArea);
add(nodeLable);
add(nodeConsistTextField);
add(nodeConsistButton);
nodeConsistButton.addActionListener(this);
add(arcLable);
add(arcConsistTextField);
add(arcConsistButton);
arcConsistButton.addActionListener(this);
add(pathLable);
add(pathConsistTextField);
add(pathConsistButton);
pathConsistButton.addActionListener(this);
add(resultDTextArea);
}
public void actionPerformed(ActionEvent event) {
Object source=event.getSource();
defineCSP();
if(source==nodeConsistButton)
nodeConsistency();
else if(source==arcConsistButton)
arcConsistency();
else if(source==pathConsistButton)
pathConsistency();
}
//
// Define CSP
//
Node CSPZDC;
Node variableZ;
Node domainD;
Node constraintC;
void defineCSP() {
CSPZDC=new Node("CSP1");
CSPZDC.addAttribute("Z", variableZ=new Node("Z"));
CSPZDC.addAttribute("D", domainD=new Node("D"));
CSPZDC.addAttribute("C", constraintC=new Node("C"));
parseZD(defineZDTextArea.getText());
parseD(defineDomainTextField.getText());
parseC(defineCTextArea.getText());
}
void parseZD(String s) {
StringTokenizer st=new StringTokenizer(s, " =,\n");
while(st.hasMoreTokens()) {
String name;
Node node;
name=st.nextToken();
variableZ.addAttribute(name, node=new Node(name));
node.addAttribute(MIN, st.nextToken());
if(st.hasMoreTokens())
node.addAttribute(MAX, st.nextToken());
dumpNode(node);
}
//dumpNode(variableZ);
}
void parseD(String s) {
StringTokenizer st=new StringTokenizer(s, " ,");
while(st.hasMoreTokens()) {
domainD.addAttribute(MIN, st.nextToken());
if(st.hasMoreTokens())
domainD.addAttribute(MAX, st.nextToken());
}
//dumpNode(domainD);
}
void parseC(String s) {
StringTokenizer st=new StringTokenizer(s, " #<>=,\n", true);
while(st.hasMoreTokens()) {
String name, operator;
Node node;
name=st.nextToken();
if(name.equals(",") || name.equals("\n")) continue;
operator=st.nextToken();
if(operator.equals("<")) {
constraintC.addAttribute(operator, node=new Node
(operator));
node.addAttribute(name, null);
if(st.hasMoreTokens())
node.addAttribute(st.nextToken(), null);
//dumpNode(node);
}
}
//dumpNode(constraintC);
}
//
// Node Consistency
//
void nodeConsistency() {
String name=nodeConsistTextField.getText();
Node node=variableZ.giveAttributeValue(name);
Object value=node.giveAttributeValue(MIN);
Object valueD=domainD.giveAttributeValue(MIN);
if(!(String)value.equals((String)valueD))) {
node.deleteAttribute(MIN);
node.addAttribute(MIN, (String)valueD);
}
dumpNode(node);
}
//
// Arc Consistency
//
void arcConsistency() {
}
//
// Path Consistency
//
void pathConsistency() {
}
//
// Debugging
//
void dumpNode(Node n) {
String attr=n.giveAttribute();
resultDTextArea.append(n.giveName()+":");
if(attr!=null)
do {
Object o;
Node node;
boolean obj;
o=n.giveAttributeValue(attr);
// node=(Node)n.giveAttributeValue(attr);
// obj="Node".equals(o.getClass().getName());
// resultDTextArea.append(attr+"="+node.giveAttribute()
+",");
resultDTextArea.append(attr+"="+o+",");
// resultDTextArea.append(attr+"="+((obj)?"Node":o)+",");
} while((attr=n.giveAttributeMore())!=null);
else
resultDTextArea.append("no attribute !");
resultDTextArea.append("\n");
}
}
D:\COURSE\CSE605\Consistency>javac -d d:\course\cse605 d:\course\cse605\Consiste
ncy\*.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.parseFile (Lsun/tools/java/ClassFile;)V': In
terpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 98948)
======================================================================
Name: skT88420 Date: 12/16/99
D:\Java\Progs>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
D:\Java\Progs>java CnvToWords 0
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'CnvToWords.main ([Ljava/lang/String;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99079)
======================================================================
Name: skT88420 Date: 02/24/2000
C:\>javac JavaTalkServer.java
THE ERROR MESSAGE:
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in : 'sun/tools/tree/TryStatement.check
(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/
util/Hashtable;)Lsun/tools/tree/Vset;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Note: JavaTalkServer.java uses or overrides a deprecated API. Recompile with "-
deprecation" for details.
1 warning
C:\>
NOTE: IN DEFAULT MS-DOS PROMPT PROVIDED WITH WIN 95
!!!!!!!!!!!!!!!PLEASE RESPOND AT MY E-MAIL ADDRESS IF SOURCE CODE IS NEEDED!!!!!
(Review ID: 101684)
======================================================================
Name: vi73552 Date: 03/26/99
c:\>javac *.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
'sun/tools/java/Environment.getClassDefinition (Lsun/tools/java/Type;)Lsun/tools/java/ClassDefinition;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 56123)
======================================================================
Name: skT88420 Date: 08/19/99
//this bug happened in Windows 95 Copyright 1981 - 1996
// date Aug. 18th, 1999
//import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class chooser{
public static void main(String arg[]){
JFrame frame = new JFrame("File Chooser Demo");
frame.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
frame.getContentPane().add("North", panel1);
frame.getContentPane().add("South", panel2);
frame.pack();
frame.setVisible( true);
}
}
//////////this is what happened compiling without the import java.awt.*; :
C:\TestPrac\temp>javac chooser.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Parser.parseTerm ()Lsun/tools/tree/Expression;': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.flushErrors ()V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
/////////////// this what happened at run time with import java.awt.*; (still running)
C:\TestPrac\temp>java chooser
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/io/FilePermission.getMask (Ljava/lang/String;)I': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/awt/image/PackedColorModel.DecomposeMask (IILjava/lang/String;)V': Inter
preting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Orderer: Bad internal opcode(1435e0
00)' has occurred in :
'java/awt/image/SinglePixelPackedSampleModel.getSampleSize ()[I': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
/////////////////after adding the label
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/io/DataOutputStream.writeUTF (Ljava/lang/String;)V': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
C:\TestPrac\temp>javac chooser.java
java.lang.NullPointerException
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An exception has occurred in the compiler; please file a bug report (http
://java.sun.com/cgi-bin/bugreport.cgi).
1 error
C:\TestPrac\temp>javac chooser.java
A nonfatal internal JIT (3.00.078(x)) error 'order:node counts' has occurred in
:
'sun/io/ByteToCharISO8859_1.convert ([BII[CII)I': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
important notes:
It happens in a random manner.
I think it is dealing with a problem that my dos instance might have. as you see sometimes it passes the compile and give you some similar errors at run time (still being able to run it).
(Review ID: 94123)
======================================================================
Name: skT88420 Date: 08/19/99
We are working on WindowsNT Operating System.
Here is the problem description----
this is the error which we are encountering frequently when we are trying
to compile our program.
A nonfatal internal JIT(3.00.078(x)) error 'structured Exception(c0000005)'
has occurred in :
'sun/tools/java/Parser.parseTrem()Lsun/tools/tree/Expression;':Interpreting
method.
A nonfatal internal JIT(3.00.078(x)) error 'structured Exception(c0000005)'
has occurred in :
'sun/tools/javac/SourceClass.compileClass (Lsun/tools/java/Environment;Ljava/io/OutputStream;)V':Interpreting
method.
we encountered this problem when we were trying to compile the following program:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class TJFrame extends JFrame
{
Container container=null;
public TJFrame(String Title)
{
super(Title);
container=this.getContentPane();
container.setBackground(Color.cyan);
container.setForeground(Color.yellow);
JLabel lblTourNames=new JLabel("Enter Tour spot names");
container.add(lblTourNames);
JTextField TourNames=new JTextField(100);
TourNames.setBorder(BorderFactory.createLineBorder(Color.black));
container.add(TourNames);
JButton submit=new JButton("Submit");
submit.addActionListener(new ButtonHandler());
container.add(submit);
addWindowListener(new WindowEventHandler());
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
setSize(350,200);
show();
}
class ButtonHandler implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
if(ae.getActionCommand()=="Submit")
{
String s=TourNames.getText();
System.out.println("Tour names are "+s);
}
}
}
public static void main(String a[])
{
TJFrame frame=new TJFrame("Swing Frame");
}
class WindowEventHandler extends WindowAdapter
{
public void windowClosing(WindowEvent we)
{
System.exit(0);
}
}
}
(Review ID: 94111)
======================================================================
Name: skT88420 Date: 09/21/99
=20
1. Compiling a file GUI.java:
C:\..\javac ...\GUI.java
It show me the following(It happened with jdk1.2.1):
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception(C0000005)h=
as ocurred in:
'sun/tools/java/Parser.parseTerm()Lsun/tools/tree/Expression:':Interpreting=
method.
...
Method toggleCoords() not found in class GUI.
toggleCoords();
^
Method fillcurrentArea() not found in class GUI.
fillcurrentArea();
^
Note:...GUI.java uses or overrrides a deprecation
Please consult the documentation for a better alternative.
2 errors, 1 warming
(It was similar with jdk1.1.8 )
Also:
more deprecations in:
public boolean action(..);
(...).hide();
2.The code is:
import java.awt.*;
public class GUI extends java.applet.Applet{
=09Frame window;
=09public void init(){
=09=09add(new Button("Abrir Ventana"));
=09=09add(new Button("Cerrar Ventana"));
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09
=09=09window=3Dnew MyFrame("Mi primera ventana");
=09=09window.setMenuBar(mb);
=09=09window.resize(150,150);
=09=09window.show();
=09=09
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09
=09}
=09public boolean action(Event evt, Object arg){
=09=09if (evt.target instanceof Button){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("Abrir Ventana")){
=09=09=09=09if(!window.isShowing())
=09=09=09=09=09window.show();
=09=09=09=09}
=09=09=09else if (label=3D=3D"Cerrar Ventana"){
=09=09=09=09if(window.isShowing())
=09=09=09=09=09window.hide();
=09=09=09}
=09=09=09return true;
=09=09}
=09=09else if (evt.target instanceof MenuItem){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("OnOff1"))
=09=09=09=09toggleCoords();
=09=09=09=09
=09=09=09else if (label.equals("OnOff2"))
=09=09=09=09fillcurrentArea();
=09=09=09
=09=09=09return true;
=09=09}
=09=09else return false;
=09}
=09
}
class MyFrame extends Frame{
=09Label l;
=09MyFrame(String title){
=09super(title);
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09setLayout(new GridLayout(1,1));
=09setBackground(Color.orange);
=09l=3Dnew Label("Esto es una ventana",Label.CENTER);
=09add(l);
=09
}
}
3.I've mentioned it in 1.
4. I'm using the text of Laura Lemay.
5.I've mentioned it in 1, too.
6.That's all, I'm interesting in tele education, this is la reason that I'm=
practicing JAVA, I'd like comunications, too.
I want to provide classes through Internet using Java's environment. Thank =
you very much to accept me.
(Review ID: 95532)
======================================================================
Name: skT88420 Date: 09/21/99
=20
1. Compiling a file GUI.java:
C:\..\javac ...\GUI.java
It show me the following(It happened with jdk1.2.1):
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception(C0000005)h=
as ocurred in:
'sun/tools/java/Parser.parseTerm()Lsun/tools/tree/Expression:':Interpreting=
method.
...
Method toggleCoords() not found in class GUI.
toggleCoords();
^
Method fillcurrentArea() not found in class GUI.
fillcurrentArea();
^
Note:...GUI.java uses or overrrides a deprecation
Please consult the documentation for a better alternative.
2 errors, 1 warming
(It was similar with jdk1.1.8 )
Also:
more deprecations in:
public boolean action(..);
(...).hide();
2.The code is:
import java.awt.*;
public class GUI extends java.applet.Applet{
=09Frame window;
=09public void init(){
=09=09add(new Button("Abrir Ventana"));
=09=09add(new Button("Cerrar Ventana"));
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09
=09=09window=3Dnew MyFrame("Mi primera ventana");
=09=09window.setMenuBar(mb);
=09=09window.resize(150,150);
=09=09window.show();
=09=09
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09
=09}
=09public boolean action(Event evt, Object arg){
=09=09if (evt.target instanceof Button){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("Abrir Ventana")){
=09=09=09=09if(!window.isShowing())
=09=09=09=09=09window.show();
=09=09=09=09}
=09=09=09else if (label=3D=3D"Cerrar Ventana"){
=09=09=09=09if(window.isShowing())
=09=09=09=09=09window.hide();
=09=09=09}
=09=09=09return true;
=09=09}
=09=09else if (evt.target instanceof MenuItem){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("OnOff1"))
=09=09=09=09toggleCoords();
=09=09=09=09
=09=09=09else if (label.equals("OnOff2"))
=09=09=09=09fillcurrentArea();
=09=09=09
=09=09=09return true;
=09=09}
=09=09else return false;
=09}
=09
}
class MyFrame extends Frame{
=09Label l;
=09MyFrame(String title){
=09super(title);
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09setLayout(new GridLayout(1,1));
=09setBackground(Color.orange);
=09l=3Dnew Label("Esto es una ventana",Label.CENTER);
=09add(l);
=09
}
}
3.I've mentioned it in 1.
4. I'm using the text of Laura Lemay.
5.I've mentioned it in 1, too.
6.That's all, I'm interesting in tele education, this is la reason that I'm=
practicing JAVA, I'd like comunications, too.
I want to provide classes through Internet using Java's environment. Thank =
you very much to accept me.
(Review ID: 95532)
======================================================================
Name: skT88420 Date: 11/05/99
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
My application runs correctly until the following entry is encountered and
logged. The message in DOS window appears at the end and directs me to report
the bug to you.
// Log file
[deleted]
BugWorker created...
Begginning synch...
reading StarTeam change requests...
An unexpected error was encountered
ClassName: Unknown
ErrorSource:
Code: -1
Logged: true
Log Entry: 38
Log time: 11/5/99 3:04:50 AM PST
// DOS Window
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'com/starbase/util/OLEDate.javaDateFromOleDate (D)Ljava/util/Date;': Interpret
ing method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 97540)
======================================================================
Name: skT88420 Date: 11/30/99
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
doing servlet programming (JSDK 2.1)
when compiled, it gave me this error:
------------------
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.makeClassDefinition (Lsun/tools/java/Environ
ment;JLsun/tools/java/IdentifierToken;Ljava/lang/String;ILsun/tools/java/Identif
ierToken;[Lsun/tools/java/IdentifierToken;Lsun/tools/java/ClassDefinition;)Lsun/
tools/java/ClassDefinition;': I
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
------------------
when I tried again I got a windows exception in the JVM.dll module,
I then tried again compiling and it worked
(Review ID: 98413)
======================================================================
Name: skT88420 Date: 12/08/99
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
I recieved this message while running my program:
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'ParseLine.procI (Ljava/lang/String;Ljava/lang/String;)J': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
I have no idea what this means. I'm just doing as it says.
I have copied the routine ParseLine.ProcI(String, String) below and can provide
more code if needed.
I selected 'no impact below', but I really can't tell.
I had many System.out.print() statements for debugging throughout my code,
inclusing this routine. I first got my error message when I did a 'clean' build
w/o these.
private long procI(String name, String rest) throws ParseException
{
long rv=0;
StringTokenizer st=new StringTokenizer(rest, ",()");
int op=0; int rs=0; int rt=0; int imm=0;
if(name.equals("lui"))
{
op=15;
rt=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
}
else if(name.equals("lw") || name.equals("sw"))
{
if(name.equals("lw")) op=35; else op=43;
rt=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
rs=parseRegister(st.nextToken(), name + rest);
}
else if(name.equals("beq") || name.equals("bne"))
{
if(name.equals("beq")) op=4; else op=5;
rs=parseRegister(st.nextToken(), name + rest);
rt=parseRegister(st.nextToken(), name + rest);
String addr=st.nextToken().trim();
imm=-1;
try{
imm=new Integer(addr).intValue()/4;
}catch(Exception e){}
if (imm==-1)
for(int i=0; i<c.label.length; i++)
if(c.label[i].equals(addr)) {imm=(int)(c.laddr[i] - c.main.getCounter
())/4; break; }
if (imm==-1) throw new ParseException("Invalid Label:\t" + name + " " +
rest );
}
else{
if(name.equals("addi")) op=8; else if(name.equals("andi")) op=12;
else if(name.equals("ori")) op=13; else op=10;
rt=parseRegister(st.nextToken(), name + rest);
rs=parseRegister(st.nextToken(), name + rest);
imm=new Integer(st.nextToken().trim()).intValue();
}
rv=op*(long)Math.pow(2,26)+rs*(long)Math.pow(2,21)+rt*(long)Math.pow(2,16)
+imm;
return rv;
}
(Review ID: 98780)
======================================================================
Name: skT88420 Date: 12/13/99
D:\COURSE\CSE605\Consistency>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
//
// File: Consistency.java
// Created: Bora I. Kumova; 09 Dec 1999
// Updated: Bora I. Kumova; 10 Dec 1999
// Updated:
//
package Consistency;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
define MIN "min";
define MAX "max";
public class Consistency extends Applet
implements ActionListener {
Label DomainLable=new Label("D of (Z,D,C):Dmin,Dmax ");
TextField defineDomainTextField=new TextField("", 15);
Label ZDLable=new Label("Z and D:
Zi=Dimin,Dimax ");
TextArea defineZDTextArea=new TextArea("", 5, 30);
Label CLable=new Label("C: C1,C2, ... ,Cm (#,<,>,=) ");
TextArea defineCTextArea=new TextArea("", 5, 30);
Label nodeLable=new Label("Node:(blank=tree)");
TextField nodeConsistTextField=new TextField("", 3);
Button nodeConsistButton=new Button("NodeConsistency");
Label arcLable=new Label(" Arc:(blank=tree)");
TextField arcConsistTextField=new TextField("", 10);
Button arcConsistButton=new Button("ArcConsistency");
Label pathLable=new Label("Path:(blank=tree)");
TextField pathConsistTextField=new TextField("", 20);
Button pathConsistButton=new Button("PathConsistency");
TextArea resultDTextArea=new TextArea("", 5, 30);
public Consistency() {
buildInterface();
}
//
// User Interface
//
private void buildInterface() {
setLayout(new FlowLayout(FlowLayout.CENTER, 10, 5));
add(DomainLable);
add(ZDLable);
add(CLable);
add(defineDomainTextField);
add(defineZDTextArea);
add(defineCTextArea);
add(nodeLable);
add(nodeConsistTextField);
add(nodeConsistButton);
nodeConsistButton.addActionListener(this);
add(arcLable);
add(arcConsistTextField);
add(arcConsistButton);
arcConsistButton.addActionListener(this);
add(pathLable);
add(pathConsistTextField);
add(pathConsistButton);
pathConsistButton.addActionListener(this);
add(resultDTextArea);
}
public void actionPerformed(ActionEvent event) {
Object source=event.getSource();
defineCSP();
if(source==nodeConsistButton)
nodeConsistency();
else if(source==arcConsistButton)
arcConsistency();
else if(source==pathConsistButton)
pathConsistency();
}
//
// Define CSP
//
Node CSPZDC;
Node variableZ;
Node domainD;
Node constraintC;
void defineCSP() {
CSPZDC=new Node("CSP1");
CSPZDC.addAttribute("Z", variableZ=new Node("Z"));
CSPZDC.addAttribute("D", domainD=new Node("D"));
CSPZDC.addAttribute("C", constraintC=new Node("C"));
parseZD(defineZDTextArea.getText());
parseD(defineDomainTextField.getText());
parseC(defineCTextArea.getText());
}
void parseZD(String s) {
StringTokenizer st=new StringTokenizer(s, " =,\n");
while(st.hasMoreTokens()) {
String name;
Node node;
name=st.nextToken();
variableZ.addAttribute(name, node=new Node(name));
node.addAttribute(MIN, st.nextToken());
if(st.hasMoreTokens())
node.addAttribute(MAX, st.nextToken());
dumpNode(node);
}
//dumpNode(variableZ);
}
void parseD(String s) {
StringTokenizer st=new StringTokenizer(s, " ,");
while(st.hasMoreTokens()) {
domainD.addAttribute(MIN, st.nextToken());
if(st.hasMoreTokens())
domainD.addAttribute(MAX, st.nextToken());
}
//dumpNode(domainD);
}
void parseC(String s) {
StringTokenizer st=new StringTokenizer(s, " #<>=,\n", true);
while(st.hasMoreTokens()) {
String name, operator;
Node node;
name=st.nextToken();
if(name.equals(",") || name.equals("\n")) continue;
operator=st.nextToken();
if(operator.equals("<")) {
constraintC.addAttribute(operator, node=new Node
(operator));
node.addAttribute(name, null);
if(st.hasMoreTokens())
node.addAttribute(st.nextToken(), null);
//dumpNode(node);
}
}
//dumpNode(constraintC);
}
//
// Node Consistency
//
void nodeConsistency() {
String name=nodeConsistTextField.getText();
Node node=variableZ.giveAttributeValue(name);
Object value=node.giveAttributeValue(MIN);
Object valueD=domainD.giveAttributeValue(MIN);
if(!(String)value.equals((String)valueD))) {
node.deleteAttribute(MIN);
node.addAttribute(MIN, (String)valueD);
}
dumpNode(node);
}
//
// Arc Consistency
//
void arcConsistency() {
}
//
// Path Consistency
//
void pathConsistency() {
}
//
// Debugging
//
void dumpNode(Node n) {
String attr=n.giveAttribute();
resultDTextArea.append(n.giveName()+":");
if(attr!=null)
do {
Object o;
Node node;
boolean obj;
o=n.giveAttributeValue(attr);
// node=(Node)n.giveAttributeValue(attr);
// obj="Node".equals(o.getClass().getName());
// resultDTextArea.append(attr+"="+node.giveAttribute()
+",");
resultDTextArea.append(attr+"="+o+",");
// resultDTextArea.append(attr+"="+((obj)?"Node":o)+",");
} while((attr=n.giveAttributeMore())!=null);
else
resultDTextArea.append("no attribute !");
resultDTextArea.append("\n");
}
}
D:\COURSE\CSE605\Consistency>javac -d d:\course\cse605 d:\course\cse605\Consiste
ncy\*.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.parseFile (Lsun/tools/java/ClassFile;)V': In
terpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 98948)
======================================================================
Name: skT88420 Date: 12/16/99
D:\Java\Progs>java -version
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
D:\Java\Progs>java CnvToWords 0
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'CnvToWords.main ([Ljava/lang/String;)V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 99079)
======================================================================
Name: skT88420 Date: 02/24/2000
C:\>javac JavaTalkServer.java
THE ERROR MESSAGE:
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in : 'sun/tools/tree/TryStatement.check
(Lsun/tools/java/Environment;Lsun/tools/tree/Context;Lsun/tools/tree/Vset;Ljava/
util/Hashtable;)Lsun/tools/tree/Vset;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Note: JavaTalkServer.java uses or overrides a deprecated API. Recompile with "-
deprecation" for details.
1 warning
C:\>
NOTE: IN DEFAULT MS-DOS PROMPT PROVIDED WITH WIN 95
!!!!!!!!!!!!!!!PLEASE RESPOND AT MY E-MAIL ADDRESS IF SOURCE CODE IS NEEDED!!!!!
(Review ID: 101684)
======================================================================
Name: vi73552 Date: 03/26/99
c:\>javac *.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has occurred in :
'sun/tools/java/Environment.getClassDefinition (Lsun/tools/java/Type;)Lsun/tools/java/ClassDefinition;': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
(Review ID: 56123)
======================================================================
Name: skT88420 Date: 08/19/99
//this bug happened in Windows 95 Copyright 1981 - 1996
// date Aug. 18th, 1999
//import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class chooser{
public static void main(String arg[]){
JFrame frame = new JFrame("File Chooser Demo");
frame.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
System.exit(0);
}
});
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
frame.getContentPane().add("North", panel1);
frame.getContentPane().add("South", panel2);
frame.pack();
frame.setVisible( true);
}
}
//////////this is what happened compiling without the import java.awt.*; :
C:\TestPrac\temp>javac chooser.java
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/java/Parser.parseTerm ()Lsun/tools/tree/Expression;': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.flushErrors ()V': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
/////////////// this what happened at run time with import java.awt.*; (still running)
C:\TestPrac\temp>java chooser
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/io/FilePermission.getMask (Ljava/lang/String;)I': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/awt/image/PackedColorModel.DecomposeMask (IILjava/lang/String;)V': Inter
preting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
A nonfatal internal JIT (3.00.078(x)) error 'Orderer: Bad internal opcode(1435e0
00)' has occurred in :
'java/awt/image/SinglePixelPackedSampleModel.getSampleSize ()[I': Interpreting
method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
/////////////////after adding the label
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'java/io/DataOutputStream.writeUTF (Ljava/lang/String;)V': Interpreting method
.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
C:\TestPrac\temp>javac chooser.java
java.lang.NullPointerException
at sun.tools.javac.Main.compile(Compiled Code)
at sun.tools.javac.Main.main(Main.java:733)
error: An exception has occurred in the compiler; please file a bug report (http
://java.sun.com/cgi-bin/bugreport.cgi).
1 error
C:\TestPrac\temp>javac chooser.java
A nonfatal internal JIT (3.00.078(x)) error 'order:node counts' has occurred in
:
'sun/io/ByteToCharISO8859_1.convert ([BII[CII)I': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
important notes:
It happens in a random manner.
I think it is dealing with a problem that my dos instance might have. as you see sometimes it passes the compile and give you some similar errors at run time (still being able to run it).
(Review ID: 94123)
======================================================================
Name: skT88420 Date: 08/19/99
We are working on WindowsNT Operating System.
Here is the problem description----
this is the error which we are encountering frequently when we are trying
to compile our program.
A nonfatal internal JIT(3.00.078(x)) error 'structured Exception(c0000005)'
has occurred in :
'sun/tools/java/Parser.parseTrem()Lsun/tools/tree/Expression;':Interpreting
method.
A nonfatal internal JIT(3.00.078(x)) error 'structured Exception(c0000005)'
has occurred in :
'sun/tools/javac/SourceClass.compileClass (Lsun/tools/java/Environment;Ljava/io/OutputStream;)V':Interpreting
method.
we encountered this problem when we were trying to compile the following program:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class TJFrame extends JFrame
{
Container container=null;
public TJFrame(String Title)
{
super(Title);
container=this.getContentPane();
container.setBackground(Color.cyan);
container.setForeground(Color.yellow);
JLabel lblTourNames=new JLabel("Enter Tour spot names");
container.add(lblTourNames);
JTextField TourNames=new JTextField(100);
TourNames.setBorder(BorderFactory.createLineBorder(Color.black));
container.add(TourNames);
JButton submit=new JButton("Submit");
submit.addActionListener(new ButtonHandler());
container.add(submit);
addWindowListener(new WindowEventHandler());
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
setSize(350,200);
show();
}
class ButtonHandler implements ActionListener
{
public void actionPerformed(ActionEvent ae)
{
if(ae.getActionCommand()=="Submit")
{
String s=TourNames.getText();
System.out.println("Tour names are "+s);
}
}
}
public static void main(String a[])
{
TJFrame frame=new TJFrame("Swing Frame");
}
class WindowEventHandler extends WindowAdapter
{
public void windowClosing(WindowEvent we)
{
System.exit(0);
}
}
}
(Review ID: 94111)
======================================================================
Name: skT88420 Date: 09/21/99
=20
1. Compiling a file GUI.java:
C:\..\javac ...\GUI.java
It show me the following(It happened with jdk1.2.1):
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception(C0000005)h=
as ocurred in:
'sun/tools/java/Parser.parseTerm()Lsun/tools/tree/Expression:':Interpreting=
method.
...
Method toggleCoords() not found in class GUI.
toggleCoords();
^
Method fillcurrentArea() not found in class GUI.
fillcurrentArea();
^
Note:...GUI.java uses or overrrides a deprecation
Please consult the documentation for a better alternative.
2 errors, 1 warming
(It was similar with jdk1.1.8 )
Also:
more deprecations in:
public boolean action(..);
(...).hide();
2.The code is:
import java.awt.*;
public class GUI extends java.applet.Applet{
=09Frame window;
=09public void init(){
=09=09add(new Button("Abrir Ventana"));
=09=09add(new Button("Cerrar Ventana"));
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09
=09=09window=3Dnew MyFrame("Mi primera ventana");
=09=09window.setMenuBar(mb);
=09=09window.resize(150,150);
=09=09window.show();
=09=09
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09
=09}
=09public boolean action(Event evt, Object arg){
=09=09if (evt.target instanceof Button){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("Abrir Ventana")){
=09=09=09=09if(!window.isShowing())
=09=09=09=09=09window.show();
=09=09=09=09}
=09=09=09else if (label=3D=3D"Cerrar Ventana"){
=09=09=09=09if(window.isShowing())
=09=09=09=09=09window.hide();
=09=09=09}
=09=09=09return true;
=09=09}
=09=09else if (evt.target instanceof MenuItem){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("OnOff1"))
=09=09=09=09toggleCoords();
=09=09=09=09
=09=09=09else if (label.equals("OnOff2"))
=09=09=09=09fillcurrentArea();
=09=09=09
=09=09=09return true;
=09=09}
=09=09else return false;
=09}
=09
}
class MyFrame extends Frame{
=09Label l;
=09MyFrame(String title){
=09super(title);
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09setLayout(new GridLayout(1,1));
=09setBackground(Color.orange);
=09l=3Dnew Label("Esto es una ventana",Label.CENTER);
=09add(l);
=09
}
}
3.I've mentioned it in 1.
4. I'm using the text of Laura Lemay.
5.I've mentioned it in 1, too.
6.That's all, I'm interesting in tele education, this is la reason that I'm=
practicing JAVA, I'd like comunications, too.
I want to provide classes through Internet using Java's environment. Thank =
you very much to accept me.
(Review ID: 95532)
======================================================================
Name: skT88420 Date: 09/21/99
=20
1. Compiling a file GUI.java:
C:\..\javac ...\GUI.java
It show me the following(It happened with jdk1.2.1):
A nonfatal internal JIT(3.00.078(x)) error 'Structured Exception(C0000005)h=
as ocurred in:
'sun/tools/java/Parser.parseTerm()Lsun/tools/tree/Expression:':Interpreting=
method.
...
Method toggleCoords() not found in class GUI.
toggleCoords();
^
Method fillcurrentArea() not found in class GUI.
fillcurrentArea();
^
Note:...GUI.java uses or overrrides a deprecation
Please consult the documentation for a better alternative.
2 errors, 1 warming
(It was similar with jdk1.1.8 )
Also:
more deprecations in:
public boolean action(..);
(...).hide();
2.The code is:
import java.awt.*;
public class GUI extends java.applet.Applet{
=09Frame window;
=09public void init(){
=09=09add(new Button("Abrir Ventana"));
=09=09add(new Button("Cerrar Ventana"));
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09
=09=09window=3Dnew MyFrame("Mi primera ventana");
=09=09window.setMenuBar(mb);
=09=09window.resize(150,150);
=09=09window.show();
=09=09
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09
=09}
=09public boolean action(Event evt, Object arg){
=09=09if (evt.target instanceof Button){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("Abrir Ventana")){
=09=09=09=09if(!window.isShowing())
=09=09=09=09=09window.show();
=09=09=09=09}
=09=09=09else if (label=3D=3D"Cerrar Ventana"){
=09=09=09=09if(window.isShowing())
=09=09=09=09=09window.hide();
=09=09=09}
=09=09=09return true;
=09=09}
=09=09else if (evt.target instanceof MenuItem){
=09=09=09String label=3D(String)arg;
=09=09=09if(label.equals("OnOff1"))
=09=09=09=09toggleCoords();
=09=09=09=09
=09=09=09else if (label.equals("OnOff2"))
=09=09=09=09fillcurrentArea();
=09=09=09
=09=09=09return true;
=09=09}
=09=09else return false;
=09}
=09
}
class MyFrame extends Frame{
=09Label l;
=09MyFrame(String title){
=09super(title);
=09=09MenuBar mb=3Dnew MenuBar();
=09=09Menu m=3Dnew Menu("Archivo");
=09=09Menu n=3Dnew Menu("Edici=F3n");
=09=09Menu o=3Dnew Menu("Buscar");
=09=09Menu hm=3Dnew Menu("Ayuda");
=09=09mb.add(m);
=09=09mb.add(n);
=09=09mb.add(o);
=09=09mb.add(hm);
=09=09mb.setHelpMenu(hm);
=09=09m.add(new MenuItem("Nuevo"));
=09=09m.add(new MenuItem("Abrir"));
=09=09m.add(new MenuItem("Guardar"));
=09=09m.add(new MenuItem("-"));
=09=09m.add(new MenuItem("Salir"));
=09=09n.add(new MenuItem("Cortar"));
=09=09n.add(new MenuItem("Copiar"));
=09=09n.add(new MenuItem("Pegar"));
=09=09
=09=09m.add(new CheckboxMenuItem("OnOff1"));
=09=09n.add(new CheckboxMenuItem("OnOff2"));
=09setLayout(new GridLayout(1,1));
=09setBackground(Color.orange);
=09l=3Dnew Label("Esto es una ventana",Label.CENTER);
=09add(l);
=09
}
}
3.I've mentioned it in 1.
4. I'm using the text of Laura Lemay.
5.I've mentioned it in 1, too.
6.That's all, I'm interesting in tele education, this is la reason that I'm=
practicing JAVA, I'd like comunications, too.
I want to provide classes through Internet using Java's environment. Thank =
you very much to accept me.
(Review ID: 95532)
======================================================================
Name: skT88420 Date: 11/05/99
java version "1.2"
Classic VM (build JDK-1.2-V, native threads)
My application runs correctly until the following entry is encountered and
logged. The message in DOS window appears at the end and directs me to report
the bug to you.
// Log file
[deleted]
BugWorker created...
Begginning synch...
reading StarTeam change requests...
An unexpected error was encountered
ClassName: Unknown
ErrorSource:
Code: -1
Logged: true
Log Entry: 38
Log time: 11/5/99 3:04:50 AM PST
// DOS Window
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'com/starbase/util/OLEDate.javaDateFromOleDate (D)Ljava/util/Date;': Interpret
ing method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
(Review ID: 97540)
======================================================================
Name: skT88420 Date: 11/30/99
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
doing servlet programming (JSDK 2.1)
when compiled, it gave me this error:
------------------
A nonfatal internal JIT (3.00.078(x)) error 'Structured Exception(c0000005)' has
occurred in :
'sun/tools/javac/BatchEnvironment.makeClassDefinition (Lsun/tools/java/Environ
ment;JLsun/tools/java/IdentifierToken;Ljava/lang/String;ILsun/tools/java/Identif
ierToken;[Lsun/tools/java/IdentifierToken;Lsun/tools/java/ClassDefinition;)Lsun/
tools/java/ClassDefinition;': I