Obfuscate bsh.Primitive from script engine#686
Merged
Conversation
fe920d9 to
c186cd1
Compare
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
c186cd1 to
67a7c65
Compare
Codecov Report
@@ Coverage Diff @@
## master #686 +/- ##
============================================
+ Coverage 71.40% 72.07% +0.66%
- Complexity 2800 2867 +67
============================================
Files 106 107 +1
Lines 9152 9198 +46
Branches 1779 1794 +15
============================================
+ Hits 6535 6629 +94
+ Misses 2204 2174 -30
+ Partials 413 395 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
pgiffuni
pushed a commit
to pgiffuni/beanshell
that referenced
this pull request
Jan 8, 2024
Obfuscate bsh.Primitive from script engine
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.
Fixes #498 NPE in TargetError with null cause.
Fixes #322 /*** ***/ is not a formal comment
Fixes #536 added 5 new operators ??, ??=, ?:, ?., and <=>
Fixes #609 obfuscate bsh.Primitive to expose math methods
Fixes #684 can now cast to type Number from primitive
Fixes #663 identifier defined array dimensions for parameters
Fixes #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
I am sure there are a few more things to note which I can't remember now off hand