Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of "-Xbootclasspath" argument to Java interferes with use of abcl-contrib JSS #3

Closed
GoogleCodeExporter opened this issue Aug 27, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Check out revision 138 of branches/bona: 
https://lsw2.googlecode.com/svn/branches/bona
2. In bin/abcl, comment out the line @args  = 
($ram,$stack,$bits,@profileargs,"-cp", $libjar, @dock);
and uncomment the line
#@args  = ($ram,$stack,$bits,@profileargs,"-Xbootclasspath/a:$libjar",@dock);
3. Load LSW

What is the expected output? What do you see instead?
Rather than loading normally, loading fails with the message "Don't know how to 
REQUIRE JSS"


In revision 108, /trunk/bin/abcl was changed from using the "-cp" switch to 
using "-Xbootclasspath":

#@args  = ($ram,$stack,$bits,@profileargs,"-cp", $libjar, @dock);
@args  = ($ram,$stack,$bits,@profileargs,"-Xbootclasspath/a:$libjar",@dock);

However, this does not currently work in combination with the new JSS, which is 
loaded from lib/abcl-contrib.jar (see revision 138 of 
https://lsw2.googlecode.com/svn/branches/bona ). In particular, 
scripts/system-registry.lisp fails to load when it reaches (require :jss):


Armed Bear Common Lisp 1.0.1-svn-13750-13751
Java 1.6.0_31 Apple Inc.
Java HotSpot(TM) Server VM
Low-level initialization completed in 0.549 seconds.
Startup completed in 1.364 seconds.
;  Loading /Users/jonathanbona/quicklisp/setup.lisp ...
;   Loading 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/loop.abcl
 ...
;   Loaded 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/loop.abcl
 (0.134 seconds)
;  Loaded /Users/jonathanbona/quicklisp/setup.lisp (4.252 seconds)
Loading /Users/jonathanbona/.abclrc completed in 6.047 seconds.
;  Loading 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/abcl-cont
rib.abcl ...
;  Loaded 
jar:file:/Users/jonathanbona/lsw/lsw2/lib/abcl.jar!/org/armedbear/lisp/abcl-cont
rib.abcl (0.0050 seconds)
Error loading /Users/jonathanbona/lsw/lsw2/scripts/system-registry.lisp at line 
42 (offset 1216)
#<THREAD "interpreter" {55EDA6}>: Debugger invoked on condition of type 
SIMPLE-ERROR
  Don't know how to REQUIRE JSS.

Original issue reported on code.google.com by jonathan...@gmail.com on 23 Apr 2012 at 7:35

@easye
Copy link
Collaborator

easye commented Dec 21, 2016

@jonathanbona: Do you still need bootclasspath for something using http://abcl.org? As far as I know, it can funk with ABCL's load strategy.

@alanruttenberg
Copy link
Owner

Current version doesn't use that.

@jonathanbona
Copy link
Collaborator

@easye nope!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants