Proof of Concept: Lambda Method Reference#688
Open
nickl- wants to merge 969 commits intobeanshell:masterfrom
Open
Proof of Concept: Lambda Method Reference#688nickl- wants to merge 969 commits intobeanshell:masterfrom
nickl- wants to merge 969 commits intobeanshell:masterfrom
Conversation
It's in the repo history when we need it back.
It should not be possible to concatenate void or undefined variables in strings.
Fix the problem with operator precedence (beanshell#590)
Merge of work done at and resolves beanshell#672 Fix issues with block name space cache may help beanshell#655 Fix beanshell#659 methods returning This reference Fix beanshell#676 with additional tests Fixes beanshell#508 again commands to exclude namespace overrid Improve for, enhanced for, while, and try-catch use of block name spaces Added more debug info for methods, commands and variables Fixed some generics for class types Refactored this and super implementations and addressed commented concerns
late binding and block name space cache
Fixes beanshell#421 which originally reported the problems with cloning scripted objects. Had to deep copy all the contexts and most references to finally be able to produce two independent instances after a clone. Also completed the existing attempt to implement cloning, and we now return an actual instance instead of just copied This namespace.
Fix cloneable support.
Changed block name space cache to Soft references, to preserve most recently used references Added daemon thread factory, to auto shutdown pool and avoid blocking java vm exit Handle dereference of cleared reference values which were causing NPEs Fix reference queue test asserts, correct expected vs actual, and add additional unit test
All just miraculously working
Null check not required when checking whether to clear block name space.
To release additional resources and when completely done with interpreter. fixes beanshell#413
In BshClassManager change the synchronized collections to use concurrent instead
Add reset interpreter method
Fixes beanshell#369 properly handle OutOfMemoryError thrown in try blocks, caught and handled to continue processing data.
Implement catch OutOfMemoryError.
…orting NPE reporting fix on BSFEngine
Only required a minor name change in our custom code on the lexer, been testing it for 3 days with zero hassles.
Fixes beanshell#498 NPE in TargetError with null cause. Fixes beanshell#322 /*** ***/ is not a formal comment Fixes beanshell#536 added 5 new operators ??, ??=, ?:, ?., and <=> Fixes beanshell#609 obfuscate bsh.Primitive to expose math methods Fixes beanshell#684 can now cast to type Number from primitive Fixes beanshell#663 identifier defined array dimensions for parameters Fixes beanshell#651 avoid NPE on package access property and use null Support for var keyword tested, appears to work with nothing added. Added Types get primitive type and isNumeric from class Auto narrowing and widening of primitives cast added Detect method signature of widening to BigInteger and BigDecimal as assignable and more specific then Object
Obfuscate bsh.Primitive from script engine
Void was not supposed to make it to here but apparantly it does.
As mentioned at beanshell#609
Include the operation flag in the debug output obtained from Node.toString Avoid a default operation if not set from grammar because int has default value 0
As discussed on beanshell#675 not RTBC needs work.
This comment was marked as resolved.
This comment was marked as resolved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As discussed on #675 not RTBC needs work.