[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[al8] 001 - Accessing Java System

"Accessing native java System class"
self print: 'Java System = ',(#{luajava} #_bindClass: 'java.lang.System')


"JavaSystem class check"
Smalltalk at: #JavaSystem ifAbsent: [
	self note: 'JavaSystem support missing'.
	self abort
]


"Java Garbage Collection"
JavaSystem gc