Subject: Re: kern/36398 (kernel diagnostic assertion while runing a native java)
To: None <ad@NetBSD.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,>
From: None <veego@netbsd.org>
List: netbsd-bugs
Date: 06/04/2007 20:54:26
Synopsis: kernel diagnostic assertion while runing a native java

State-Changed-From-To: feedback->closed
State-Changed-By: veego@netbsd.org
State-Changed-When: Mon, 04 Jun 2007 20:54:24 +0000
State-Changed-Why:
The panic is gone, but java still does not work. Neither the native one nor the linux
version.

It is easy to reproduce by running the following command (make sure not to run
it as root because it tries to create a classes.jsa under $JAVA_HOME/lib/i386/client):

/usr/pkg/bin/sun15-java -Xshare:dump

This will cause the following error:
  Error occurred during initialization of VM
  Dumping a shared archive is not supported on the Server JVM.
instead of what should happen:
  Loading classes to share ... done.
  Rewriting and unlinking classes ... done.
  [..]

Thats a command which will be executed as a postinstall action while installing
the package and used to work with an older version, but now fails with the same
binaries.