-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0, 1.3.0_01, 1.3.0_02, 1.3.1, 1.3.1_01, 1.4.0, 1.4.1, 1.4.2
-
03
-
generic, x86, sparc, itanium
-
generic, linux, linux_redhat_7.2, solaris_2.5.1, solaris_2.6, solaris_7, solaris_8, windows_95, windows_98, windows_nt, windows_2000
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2035439 | 1.4.1 | Konstantin Kladko | P4 | Closed | Fixed | hopper |
JDK-2035440 | 1.4.0 | Konstantin Kladko | P4 | Resolved | Fixed | rc1 |
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
When Compiling TOMCAT Server day 25/08/2000 at 5:00 pm gmt -0400 i have
downloaded the last cvs of tomcat and this was the output when compiling it.
Z:\cygwin\home\cvs\jakarta-tomcat>build
Buildfile: build.xml
init:
prepare:
tomcat-compile:
tomcat-jars:
tomcat:
webapps:
[javac] Compiling 23 source files to Z:\cygwin\home\cvs\build\tomcat\webapps
\examples\WEB-INF\classes
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at sun.tools.java.ClassPath.getFiles(ClassPath.java:183)
at sun.tools.java.Package.exists(Package.java:94)
at sun.tools.java.Imports.resolve(Imports.java:146)
at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1075)
at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.j
ava:133)
at sun.tools.javac.Main.compile(Main.java:500)
at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:444)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:324)
at org.apache.tools.ant.Target.execute(Target.java:141)
at org.apache.tools.ant.Project.runTarget(Project.java:721)
at org.apache.tools.ant.Project.executeTarget(Project.java:451)
at org.apache.tools.ant.Project.executeTargets(Project.java:425)
at org.apache.tools.ant.Main.runBuild(Main.java:310)
at org.apache.tools.ant.Main.main(Main.java:124)
[javac] error: An error has occurred in the compiler; please file a bug repo
rt (http://java.sun.com/cgi-bin/bugreport.cgi).
[javac] 1 error
(Review ID: 108959)
======================================================================
Name: tb29552 Date: 08/26/2000
bash-2.04$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Using Ant,
bash-2.04$ ant -version
Ant version 1.2alpha compiled on August 24 2000
I am seeing the following internal error:
[javac] Compiling 29 source files to D:\usr\weblogic\deploy\index\build
An exception has occurred in the compiler (1.3.0). Please file a bug at the Java
Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include your
program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1202)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.Main.compile(Main.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:476)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:326)
at org.apache.tools.ant.Target.execute(Target.java:141)
at org.apache.tools.ant.Project.runTarget(Project.java:721)
at org.apache.tools.ant.Project.executeTarget(Project.java:451)
at org.apache.tools.ant.Project.executeTargets(Project.java:425)
at org.apache.tools.ant.Main.runBuild(Main.java:310)
at org.apache.tools.ant.Main.main(Main.java:124)
BUILD FAILED
build.xml:73: Compile failed, messages should have been provided.
Compile failed, messages should have been provided.
at org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:480)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:326)
at org.apache.tools.ant.Target.execute(Target.java:141)
at org.apache.tools.ant.Project.runTarget(Project.java:721)
at org.apache.tools.ant.Project.executeTarget(Project.java:451)
at org.apache.tools.ant.Project.executeTargets(Project.java:425)
at org.apache.tools.ant.Main.runBuild(Main.java:310)
at org.apache.tools.ant.Main.main(Main.java:124)
This is happening repeatedly currently. Prior to the last round of source
changes this build was completing.
(Review ID: 108975)
======================================================================
Name: tb29552 Date: 09/10/2000
"java version "1.3.0
)Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C
)Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode
.program and the following diagnostic in your report. Thank you
java.lang.InternalError: jzentry == 0
)at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297
:at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java
)893
)at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095
at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1180
)
)at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1198
at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955
)
)at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366
)at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424
the code :
package formClientServer;
import java.io.*;
import formClientServer.Record;
public class qs extends Record{
private static final int MAX = 100;
private Record[] Data;
boolean sort=false;
public qs( Record f[] ){
Data = f;
quicksort( 0 , MAX - 1 );
}
public void quicksort(int from,int to){
int mid;
if(from<to){
if(from==to-1){
if( Data[ from ].getInfo().compareTo( Data[ to ].getInfo() ) > 0 )
swap( from , to );
}
else{
mid=partition( from , to );
quicksort( from , mid - 1 );
quicksort( mid + 1 , to );
}
}
}
public int partition(int From, int To){
int Front=From+1,Back=To;
while(Front<Back){
while(Front<Back
&& Data[ Front ].getInfo().compareTo( Data[ From ].getInfo() ) < 0 )
Front++;
while(Front<Back
&& Data[ Back ].getInfo().compareTo( Data[ From ].getInfo() ) >= 0 )
Back--;
swap(Front,Back);
}
if( Data[ From ].getInfo().compareTo( Data[ Front ].getInfo() ) >= 0 )
swap(From,Front);
else {
swap (From,Front-1);
Front--;
}
return Front;
}
public void swap(int a,int b){
String temp = new String( Data[ a ].getInfo() );
Data[ a ].setInfo( Data[ b ].getInfo() );
Data[ b ].setInfo( temp );
}
public static void main(String args[]){
try{
RandomAccessFile file = new RandomAccessFile( args[0] , "r" );
Record r[] = new Record[ MAX ];
for(int i = 0; i< MAX ;i++){
r[i] = new Record( file.readUTF() );
}
String tmp = new String();
for( int i = 0; i< MAX ; i++ )
if( r[ i ].getInfo().charAt(0) != '?' )
tmp = new String( tmp + r[ i ].getInfo() );
System.out.print( tmp );
file.close();
}catch(IOException ioe){
System.out.println("file didnt closed successfuly");
ioe.printStackTrace();
System.exit(0);
}
}
}
the err :
(Review ID: 108988)
======================================================================
Name: tb29552 Date: 09/29/2000
An exception has occurred in the compiler /1.3.0).Please file a bug at the Java
Developer Connection
(http://java.sun.com/cgi-bin/bugreport.cgi). Include your program and the
following diagnostics in your
report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1198)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.v8.Main.main(Main.java:16)
I downloaded the standard Java 2 SDK (1.3.0) and installed on my Win2000 PC
following the instructions exactly including setting of path to the bin etc. I
have previously installed several earlier versions in the same way and had no
problems with that, the only difference being that I now use a Win2000 system
instead of Win 98.
To test the compiler I started by copying the exact text from the "Hello-
project" in the tutorial which I also downloaded from you.
When trying to compile by using the usual "javac HelloWorldApp.java" I got the
following message:
"An exception has occurred in the compiler /1.3.0).Please file a bug at the
Java Developer Connection
(http://java.sun.com/cgi-bin/bugreport.cgi). Include your program and the
following diagnostics in your
report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1198)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.v8.Main.main(Main.java:16)"
So - how do I proceed from here? Do I really have to go back to an older
version???
(Review ID: 110188)
======================================================================
Name: rmT116609 Date: 11/01/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Server VM (build 1.3.0, mixed mode)
Using Redhat 6.1 or 7.0 and StarOffice 5.2...
1) From within StarOffice go to
Explorer:Bookmarks:StarOffice Bookmarks:Java:Java Setup
2) Select the jdk or jrk location (e.g /usr/java/jdk1.3)
3) Confirm the java runtime selection and restart StarOffice for the changes to
take effect.
4) Go to Explorer:Bookmarks:StarOffice Bookmarks:Java:Java Console
5) Notice on console from which StarOffice was started:
error - could not load java, cause error: undefined symbol: jdk_sem_post.
Multiple configurations of the vm have been attempted.
(Review ID: 111684)
======================================================================
Name: rmT116609 Date: 11/01/2000
Microsoft(R) Windows NT(TM)
(C) Copyright 1985-1996 Microsoft Corp.
D:\>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
D:\>
An exception has occurred in the compiler (1.3.0). Please file a bug at the
Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include
your program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1198)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.Main.main(Main.java:16)
Process completed with exit code 4
For the same source code sometimes it compiles with a single error but very
often output the above compiler exception
(Review ID: 111670)
======================================================================
Name: rmT116609 Date: 09/25/2001
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
This exception sometimes (and unpredictably) happens when compiling using ANT. The bug seems to show when running a <javac> task in a dependent file, i.e., another build.xml executed using the <ant> target.
It appears that this problem may be related to some kind of resource limitation, since it happens once javac has been called a number of
times in the same VM.
(Review ID: 132539)
======================================================================
Name: stC104175 Date: 07/17/2000
C:\>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Got following compile exception:
An exception has occurred in the compiler (1.3.0). Please file a bug at the
Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include
your program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1200)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.Main.main(Main.java:16)
Process completed with exit code 4
-----
on the following code:
import java.sql.*;
import java.util.Properties;
import java.io.InputStream;
public class ErrorCheckerOracle
{
public static void main (String arguments[])
{
// String driverPrefixURL = "jdbc:oracle:thin:@";
String driverPrefixURL = "jdbc:odbc:";
String username = null;
String password = null;
String dataSource = null;
try
{ // Invalid driver
Class driverClass = Class.forName("sun.jdbc.odbc.JdbcOdbcDriverxx");
} catch (ClassNotFoundException driver1ClassNotFoundException)
{
System.out.println("If an invalid driver name datasourceInputStream
provided or the " +
"class cannot be found, the ClassNotFoundException is thrown.");
}
try { // Valid driver
// DriverManager.registerDriver (new
oracle.jdbc.driver.OracleDriver());
// Class driverClass = Class.forName
("oracle.jdbc.driver.OracleDriver");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
}
catch (ClassNotFoundException driver2ClassNotFoundException)
{
System.out.println("Failed to load JDBC/ODBC driver.");
}
try
{ // Resource loading
// Look for resource file 'odbc.datasource'
InputStream datasourceInputStream = ClassLoader.getSystemResourceAsStream
("odbc.datasource");
Properties p = new Properties();
p.load (datasourceInputStream);
dataSource = p.getProperty("datasource.name");
if (dataSource == null)
throw new Exception ();
username = p.getProperty("datasource.username", "");
password = p.getProperty("datasource.password", "");
} catch (Exception datasourceException)
{
System.out.println("Unable to read resource to get data source");
return;
}
try
{ // Invalid connection
Connection foobarConnection =
DriverManager.getConnection("foobar", username, password);
// If your datasource supports usernames and passwords, you can try this one
too.
// Connection badcon = DriverManager.getConnection
(driverPrefixURL+dataSource, "DD", password);
}
catch (SQLException foobarSQLException)
{
/* Display Error Code, SQL State, and Error Message.*/
System.out.println
("Error Code = " + foobarSQLException.getErrorCode ()
+ " Message = " + foobarSQLException.getMessage ()
+ " SQL State = " + foobarSQLException.getSQLState ());
}
try
{ // Valid connection
Connection datasourceConnection = null;
try
{
datasourceConnection =
DriverManager.getConnection
(driverPrefixURL + dataSource + ";foo=bar",
username,
password);
}
catch (SQLException fooEqualsBarException)
{
// For some drivers, this fails vs. generate a warning.
System.out.println ("foo=bar option failed");
datasourceConnection =
DriverManager.getConnection
(driverPrefixURL + dataSource, username, password);
}
System.out.println("Connected.");
// Check for connection warnings
printSQLWarnings (datasourceConnection.getWarnings());
DatabaseMetaData datasourceMetaData = datasourceConnection.getMetaData();
printSQLWarnings (datasourceConnection.getWarnings());
if (datasourceMetaData == null)
{
System.out.println ("No Database Meta Data");
return;
}
else
{
// Determine what level of ANSI92 is supported
if (datasourceMetaData.supportsANSI92FullSQL())
{
System.out.println ("The ANSI92 full SQL grammar is
supported.");
}
else if (datasourceMetaData.supportsANSI92IntermediateSQL())
{
System.out.println
("The ANSI92 intermediate SQL grammar is
supported.");
}
else if (datasourceMetaData.supportsANSI92EntryLevelSQL())
{
System.out.println
("The ANSI92 Entry Level SQL grammar is
supported.");
}
else
{
System.out.println
("The ANSI92 SQL grammar is not supported.");
}
// Determine what SQL Grammer level is supported
if (datasourceMetaData.supportsExtendedSQLGrammar())
{
System.out.println ("The ODBC Extended SQL grammar is
supported.");
}
else if (datasourceMetaData.supportsCoreSQLGrammar())
{
System.out.println ("The ODBC Core SQL grammar is
supported.");
}
else if (datasourceMetaData.supportsMinimumSQLGrammar())
{
System.out.println ("The ODBC Minimum SQL grammar is
supported.");
}
else
{
System.out.println
("The ODBC SQL grammar is not supported.");
}
}
Statement DBStatement = datasourceConnection.createStatement();
printSQLWarnings (datasourceConnection.getWarnings());
// Drop table students2 - so we can run this multiple times
try
{
DBStatement.executeUpdate ("drop table students2;");
}
catch (SQLException dropSQLException)
{
/* Display Error Code, SQL State, and Error Message.*/
System.out.println
("Error Code = " + dropSQLException.getErrorCode ()
+ " Message = " + dropSQLException.getMessage ()
+ " SQL State = " + dropSQLException.getSQLState ());
}
printSQLWarnings (datasourceConnection.getWarnings());
// Create table students2
DBStatement.executeUpdate
("create table students2"
+ " (name varchar (32), class varchar (32));");
printSQLWarnings (datasourceConnection.getWarnings());
if ((datasourceMetaData != null) &&
datasourceMetaData.supportsCoreSQLGrammar())
{
System.out.println ("Inserting the easy way");
DBStatement.executeUpdate ("insert into students2 select name, class
from students");
printSQLWarnings (datasourceConnection.getWarnings());
}
else
{ // Minimum
System.out.println ("Inserting the hard way");
// Insert each student into students2.
}
// Close everything
// Close statement
DBStatement.close ();
printSQLWarnings (datasourceConnection.getWarnings ());
// Close connection
datasourceConnection.close ();
printSQLWarnings (datasourceConnection.getWarnings ());
}
catch (SQLException connectionSQLException)
{
/* Display Error Code, SQL State, and Error Message.*/
System.out.println
("Error Code = " + connectionSQLException.getErrorCode ()
+ " Message = " + connectionSQLException.getMessage ()
+ " SQL State = " + connectionSQLException.getSQLState ());
connectionSQLException.printStackTrace();
}
}
private static void printSQLWarnings (SQLWarning inSQLWarning)
{
// Print out all warning messages in chain.
// Check for DataTruncation warnings, too.
while (inSQLWarning != null)
{
System.out.println (inSQLWarning.getMessage());
if (inSQLWarning instanceof DataTruncation)
{
// DataTruncation d = (DataTruncation)inSQLWarning;
// System.out.println
// (" Trunction error in column: "
// + (DataTruncation)inSQLWarning.getIndex());
DataTruncation SQLWarningDataTruncation =
(DataTruncation) inSQLWarning;
System.out.println
("Trunction error in column: "
+ SQLWarningDataTruncation.getIndex());
}
inSQLWarning = inSQLWarning.getNextWarning();
}
}
}
(Review ID: 107132)
======================================================================
Name: skT45625 Date: 08/03/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I was trying to compile the source for Jacorb 1.1 ORB from http://www.inf.fu-
berlin.de/~brose/jacorb/ and compiled this using Jakarta-Ant 1.1. The following
error occurred and I was asked by the compiler to file a bug report:
C:\JacORB1_1>java -classpath .;C:\jaxp1.0.1\jaxp.jar;C:\jaxp1.0.1
\parser.jar;C:\JDK1.3\LIB\tools.jar;C:\Jakarta\jakarta-
tomcat\lib\servlet.jar;C:\Jakarta\jakarta-
tomcat\lib\webserver.jar;C:\Jakarta\jakarta-ant\lib\ant.jar;C:\JacORB1_1
\lib\idl.jar;C:\JacORB1_1\lib\jacorb.jar org.apache.tools.ant.Main -
Dtomcat.home=C:\Jakarta\jakarta-tomcat all
Buildfile: build.xml
init:
[mkdir] Created dir: C:\JacORB1_1\classes
java_cup:
all:
[javac] Compiling 10 source files to C:\JacORB1_1\classes
idlsrc:
init:
compile:
[javac] Compiling 88 source files to C:\JacORB1_1\classes
all:
compiler:
[jar] Building jar: C:\JacORB1_1\lib\idl.jar
orb:
[mkdir] Created dir: C:\JacORB1_1\src\generated\org
[copydir] Copying 310 files to C:\JacORB1_1\src\generated
[delete] Deleting: C:\JacORB1_1\src\generated\org\omg\CORBA\ORB.java
[delete] Deleting: C:\JacORB1_1\src\generated\org\omg\CORBA\Policy.java
[delete] Deleting: C:\JacORB1_1
\src\generated\org\omg\CORBA\PolicyOperations.java
dynany:
[javac] Compiling 88 source files to C:\JacORB1_1\classes
An exception has occurred in the compiler (1.3.0). Please file a bug at the
Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include
your program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(Unknown Source)
at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1180)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1202)
at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:955)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.Main.compile(Main.java:26)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:616)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:297)
at org.apache.tools.ant.Target.execute(Target.java:132)
at org.apache.tools.ant.Project.runTarget(Project.java:717)
at org.apache.tools.ant.Project.executeTarget(Project.java:448)
at org.apache.tools.ant.Project.executeTargets(Project.java:422)
at org.apache.tools.ant.Main.runBuild(Main.java:279)
at org.apache.tools.ant.Main.main(Main.java:107)
BUILD FAILED
build.xml:226: Compile failed, messages should have been provided.
Compile failed, messages should have been provided.
at org.apache.tools.ant.taskdefs.Javac.doModernCompile(Javac.java:620)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:297)
at org.apache.tools.ant.Target.execute(Target.java:132)
at org.apache.tools.ant.Project.runTarget(Project.java:717)
at org.apache.tools.ant.Project.executeTarget(Project.java:448)
at org.apache.tools.ant.Project.executeTargets(Project.java:422)
at org.apache.tools.ant.Main.runBuild(Main.java:279)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 1 minutes 5 seconds
C:\JacORB1_1>
Process completed successfully
(Review ID: 107947)
======================================================================
Name: skT45625 Date: 08/09/2000
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Compiling a simple application in the MS-DOS window produced the following
message:
D:\JavaSource>javac HelloWorldApp.java
An exception has occurred in the compiler (1.3.0). Please file a bug at the Java
Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi). Include your
program and the following diagnostic in your report. Thank you.
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:
893)
at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1095)
at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1180
)
at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1198)
at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:955
)
at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
at com.sun.tools.javac.v8.comp.Enter._case(Enter.java:424)
at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java:349)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:392)
at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java:410)
at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:540)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:357)
at com.sun.tools.javac.v8.Main.compile(Main.java:247)
at com.sun.tools.javac.Main.main(Main.java:16)
The source code is as follows:
/**
* My Hello World Application
*/
public class HelloWorldApp {
public static void main (String[] args) {
System.out.println("Hello World!");
}
}
(Review ID: 108220)
======================================================================
Name: tb29552 Date: 08/26/2000
java version "1.3.0"
Java(TM) 2 Runtime Environmen
- backported by
-
JDK-2035440 # Internal error in ZipFile code during compilation
- Resolved
-
JDK-2035439 # Internal error in ZipFile code during compilation
- Closed
- duplicates
-
JDK-4607439 No way how to recover after InternalError jzentry == null
- Closed
-
JDK-4666704 getting a java.lang.InternalError
- Closed
-
JDK-4717809 LIN64 & WINXP64 : jvmpi test classload001 test hangs
- Closed
-
JDK-4386865 JAR file not closed after loading .properties file in ResourceBundle.
- Closed
-
JDK-4388666 New URLClassLoader continues using classes from old jar.
- Closed
-
JDK-4405789 JAR files, modified on disk, are not reloadable until old URLClassLoader's GC'd
- Closed
-
JDK-4500024 compiler error while compiling j2ee tutorial program savingsaccount
- Closed
-
JDK-4717796 LINia64 : jvmpi test clsunload002 fails as java.lang.OutOfMemoryError
- Closed
- relates to
-
JDK-4505064 Problems with net.dll file cause that compilation doesn't work on Windows 2000.
- Closed
-
JDK-4239902 New compiler can't compile Munge
- Closed