diff --git a/README.html b/README.html index 1cb96213..99a39d44 100644 --- a/README.html +++ b/README.html @@ -745,5 +745,6 @@ and LuaForge:
  • values associated with weak keys may linger longer than expected
  • behavior of luaj when a SecurityManager is used has not been fully characterized
  • negative zero is treated as identical to integer value zero throughout luaj +
  • lua compiled into java bytecode using luajc cannot use string.dump() or xpcall() diff --git a/test/lua/iolib.lua b/test/lua/iolib.lua index 3264b704..ab086e51 100644 --- a/test/lua/iolib.lua +++ b/test/lua/iolib.lua @@ -1,5 +1,5 @@ local platform = ... -print( 'platform', platform ) +--print( 'platform', platform ) -- simple io-library tests -- diff --git a/test/lua/luaj3.0-tests.zip b/test/lua/luaj3.0-tests.zip index a68b7906..dfeb201c 100644 Binary files a/test/lua/luaj3.0-tests.zip and b/test/lua/luaj3.0-tests.zip differ diff --git a/test/lua/mathlib.lua b/test/lua/mathlib.lua index 5f14e6f6..64598093 100644 --- a/test/lua/mathlib.lua +++ b/test/lua/mathlib.lua @@ -1,5 +1,5 @@ local platform = ... -print( 'platform', platform ) +--print( 'platform', platform ) local aliases = { ['0']='', diff --git a/test/lua/stringlib.lua b/test/lua/stringlib.lua index 5bf09550..aec150fa 100644 --- a/test/lua/stringlib.lua +++ b/test/lua/stringlib.lua @@ -149,7 +149,10 @@ strtests('lower', string.lower, s ) strtests('upper', string.upper, s ) strtests('reverse', string.reverse, s ) strtests('char', string.char, 92, 60, 61, 93 ) -print( 'string.dump test:', load(string.dump(function(x) return 'foo->'..x end),'bar')('bat') ) +stringdumptest = function() + return load(string.dump(function(x) return 'foo->'..x end),'bar')('bat') +end +print( 'string.dump test:', pcall(stringdujptest) ) -- floating point formats (not supported yet)