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

Add 'setClassLoader' with argument 'forceClassLoader' #570

Open
wants to merge 808 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
808 commits
Select commit Hold shift + click to select a range
6af9711
Implement JDK7 number literal additions.
nickl- Jun 1, 2018
08ee11e
Fix concurrency issues with pullBshStatic lazy initialisation.
nickl- Jun 1, 2018
d7dd857
Removed LOCALSCOPING
nickl- Jun 2, 2018
600fcde
Remove BSF2.x support.
nickl- Jun 2, 2018
41af76b
Convert TestBshScriptEngine to junit test.
nickl- Jun 2, 2018
cd5b54d
Amend Implement variable declared array.
nickl- Jun 2, 2018
cff58ca
Fix LHS Serializability.
nickl- Jun 2, 2018
df0db64
class3.bsh test is working
nickl- Jun 2, 2018
42aca72
Refactor OldScriptsTest
nickl- Jun 2, 2018
6c6e704
Skip accessibility tests if haveAccessibility false.
nickl- Jun 2, 2018
9627f3a
Fix import static
nickl- Jun 2, 2018
d9433d7
Pass tests with accessibility=true
nickl- Jun 2, 2018
52ab72f
Java 9 and 10 with --illegal-access=deny pass
nickl- Jun 2, 2018
60afa06
Fix classinner.bsh and remove know issue flag
nickl- Jun 2, 2018
f72067a
Fix externalNameSpace.bsh and remove known issue
nickl- Jun 2, 2018
4025f46
Update modules and reformat pom.xml
nickl- Jun 2, 2018
fe48585
Fix find most specific signature
nickl- Jun 2, 2018
7b02565
Refactor TestUtil and rename issue_XX tests.
nickl- Jun 2, 2018
a5c48ca
Extract NumberLiteralTest
nickl- Jun 2, 2018
98c4c97
Move try with resources tests to TryStatementTest
nickl- Jun 2, 2018
bc172a6
Rename Project_Coin_Test to StatementsTest
nickl- Jun 2, 2018
f6b5d18
Checkstyle and cosmetics
nickl- Jun 2, 2018
f4ddf91
implemented try-with-resources
nickl- Jun 2, 2018
1243402
Infer wrapped method missing items
nickl- Jun 2, 2018
569b6f9
Fix try-with-resources for Java 9/10
nickl- Jun 2, 2018
74f3359
Implement multi catch
nickl- Jun 2, 2018
2e1904a
Ensure that members have modifiers on node.
nickl- Jun 3, 2018
0b7a318
Grammar clean up.
nickl- Jun 3, 2018
892d635
Improved no access modifier is public implementation.
nickl- Jun 7, 2018
f4d7a9b
Abstract methods implemented validation and inheritance rules.
nickl- Jun 7, 2018
47f1673
Implement interface methods (default and static)
nickl- Jun 7, 2018
8c00c93
script test enhancements
nickl- Jun 7, 2018
cb92ca2
Fix calling overridden method from child instance
nickl- Jun 7, 2018
a1c0492
Ignore null class path component
nickl- Jun 7, 2018
1e9549c
Add tests to travis build
nickl- Jun 7, 2018
d6f4397
props.bsh trhows java.awt.HeadlessException
nickl- Jun 7, 2018
7e07233
Add jdk9 with --illegal-access=deny to travis script
nickl- Jun 7, 2018
1079078
Tweak travis build instructions
nickl- Jun 7, 2018
f5f2648
Final tweaks travis build instructions
nickl- Jun 7, 2018
3e60261
performance enhancement grammar parser #67
nickl- Jun 8, 2018
010e797
Update unit test with junit asserts.
nickl- Jun 8, 2018
853b55b
Collect fields and retain variable virtual modifiers.
nickl- Jun 8, 2018
8c58ca4
unit test for grammar performance enhancement
nickl- Jun 8, 2018
b60abf9
Implement jrt:/java.base class path for Java 9+
nickl- Jun 14, 2018
d471d96
Add auto-closable validation test for try with resources.
nickl- Jun 14, 2018
3cb0f60
Interpreter release resources and script engine enhancements.
nickl- Jun 14, 2018
912f362
attempt codecov.io support
nickl- Jun 14, 2018
95b52ff
patch resource leaks
nickl- Jun 14, 2018
5c1d1a2
test unicode script engine writer
nickl- Jun 14, 2018
ffeac7e
Fix isVarargsAssignable
nickl- Jun 18, 2018
8d96a57
Tweaked some more coverage excludes
nickl- Jun 18, 2018
a080d02
Fix numeric types
nickl- Jun 18, 2018
b068641
StringUtil add-ons.
nickl- Jun 18, 2018
1c1f370
Add codecov badge
nickl- Jun 18, 2018
590a888
Test script template updated with documentation.
nickl- Jun 18, 2018
10a9136
Consider Thread.interrupted for infinite loops
nickl- Jun 19, 2018
e5796e9
make check abstract method implementation strictJava
nickl- Jun 22, 2018
009c831
Unit test for #2 NullPointerException Thrown by Overridden Method
nickl- Jun 22, 2018
120e0ee
Fixes octal literals as per #25
nickl- Jun 23, 2018
8e7238e
Improve Capabilities.classExists as per #28
nickl- Jun 23, 2018
0d2e9a0
Update Readme.md
nickl- Jun 23, 2018
1a042b7
Add link to sourceforge project.
nickl- Jun 23, 2018
0782ae0
StringUtil value and type string improvements
nickl- Jun 23, 2018
a26942b
Add emacs jde to projects using beanshell
nickl- Jun 24, 2018
632e36c
Relax static interface method restrictions.
nickl- Jun 24, 2018
885936b
Numeric Types Round Two #71
nickl- Jun 30, 2018
356ea9a
Added TestNG to projects using BeanShell #77
nickl- Jul 1, 2018
bd4f86f
Fix target error
nickl- Jul 1, 2018
f00e9ba
test assert fixes
nickl- Jul 1, 2018
9f64f28
Serialization fixes.
nickl- Jul 1, 2018
7d2a9a9
Enum type support v1.0 see #80 for more details
nickl- Jul 1, 2018
626c882
Refactor ClassGeneratorUtil which was getting big
nickl- Jul 2, 2018
8cceaa9
Prevent EOF Parser Error in interactive mode.
nickl- Jul 3, 2018
bfecf79
Interpreter: remove legacy work arounds.
nickl- Jul 3, 2018
92cdb5c
Fix unwrapping nested target errors #78
nickl- Jul 4, 2018
a0bfdfe
Running on Windows fix tests #24
nickl- Jul 4, 2018
8333371
Fix unicode test for Windows #24
nickl- Jul 4, 2018
75e4d9f
Add some BshClassPathTests #24
nickl- Jul 4, 2018
11f1748
Interpreter remove legacy, dead, commented, unreachable code.
nickl- Jul 4, 2018
c1f0669
Avoid possible null pointer
nickl- Jul 4, 2018
b64c67a
Set caller info for assert fail.
nickl- Jul 4, 2018
ff9cbd5
Remove debugging code.
nickl- Jul 4, 2018
ca9da3f
Upgrade ASM 6.2
nickl- Jul 6, 2018
6943089
Wrap null parameters as Primitive.NULL byte code
nickl- Jul 6, 2018
0e54fc2
fix bad char in tr error
nickl- Jul 6, 2018
d028612
Improved and normalised Interpreter.DEBUG
nickl- Jul 6, 2018
05a0ef1
WHITESPACE !$@#$ Damned evil cunning.
nickl- Jul 6, 2018
61935ba
ThreadLocal accessibility to play nice with others.
nickl- Jul 6, 2018
15a2295
Rollback getBshPrompt optimisation.
nickl- Jul 6, 2018
bd81e6e
Fix some problems with Interpreter.close()
nickl- Jul 8, 2018
c4a37fd
Change scale of interpreter initialize debug benchmark.
nickl- Jul 8, 2018
c02e1ba
Refactor class This reference methods to Reflect.
nickl- Jul 8, 2018
8eb2091
Fix inner class and local class scope.
nickl- Jul 8, 2018
a4b6743
Name Parts optimization.
nickl- Jul 8, 2018
6ed3f8c
Minor cosmetic changes.
nickl- Jul 8, 2018
f331dbf
Fixes to primitives concerning equality and operators.
nickl- Jul 12, 2018
bd7c6b0
Delegating the management of the prompt to the the ConsoleInterface.
stefanofornari Jul 1, 2018
17cf042
Delegating the display of the prompt to prompt() so that subclasses c…
stefanofornari Jul 7, 2018
dcb6c8c
delegating prompt to ConsoleInterface with default implementation
stefanofornari Jul 11, 2018
e95d8c4
removed redundant public
stefanofornari Jul 12, 2018
6b9f80f
removing public prompt from Interpreter using instead the default imp…
stefanofornari Jul 13, 2018
4cd3525
Added args collection for enum constant args.
nickl- Jul 12, 2018
78ec46e
Add modifier lookup for java method in bshmethod.
nickl- Jul 12, 2018
b057772
Prevent tests from writing to stdout and release resources
nickl- Jul 13, 2018
0ef875f
Interpreter refactor as discussed at #87 #88 #79
nickl- Jul 13, 2018
38124c2
Remove default import of gui classes.
nickl- Jul 22, 2018
294e326
Custom matcher comparing value with the result from StringUtil valueS…
nickl- Jul 23, 2018
5c7978a
Cast null to wrapper type default value.
nickl- Jul 23, 2018
87bb80a
Improvements to Capabilities classExists
nickl- Jul 23, 2018
ae49cc7
Removed unused, unreachable, obsolete and redundant code.
nickl- Jul 23, 2018
3047d2b
Improved error messages.
nickl- Jul 27, 2018
84c7343
Improved enum values.
nickl- Jul 30, 2018
4d317f5
Refactor Types.getTypes and reduce code duplication
nickl- Jul 30, 2018
a1ac7b4
Introduce number order list constant and get common type.
nickl- Jul 30, 2018
d1531ca
Remove duplicated functionality.
nickl- Jul 30, 2018
0e5a9d8
Refactor operators and implement array concat/repeat see #89
nickl- Jul 30, 2018
5d9bd78
Cast array implementation.
nickl- Jul 30, 2018
c556625
Implements array slice see #89
nickl- Jul 30, 2018
6b222d8
Arrays 3.0 and Collections see #89
nickl- Jul 30, 2018
1c91071
Unit tests for Arrays 3.0 with Collections
nickl- Jul 30, 2018
8042dec
Refactor Reflect.invokeMethod
nickl- Jul 30, 2018
f6508d3
Code clean up as per PMD.
nickl- Jul 31, 2018
fa1190a
Formatting updates
pgiffuni Jul 31, 2018
fe89b2e
NOTICE: Add ASM license
pgiffuni Jul 31, 2018
0e2aeca
Undo ASM licensing info here
pgiffuni Jul 31, 2018
230e05b
Add Web ASM LICENSE
pgiffuni Jul 31, 2018
fcc4bd5
More sorting
pgiffuni Jul 31, 2018
f9c3b48
and more sorting
pgiffuni Jul 31, 2018
18c3b51
Auto set version number from maven pom file.
nickl- Jul 31, 2018
e4cdda6
Freshly regenerated ParserException an re-applied the BeanShell modif…
nickl- Aug 1, 2018
61c99d1
Add coverity badge
pgiffuni Aug 1, 2018
ab4ef68
Somewhat more accurate history.
pgiffuni Aug 1, 2018
6d0b59f
Fixes to coverity reported defects.
nickl- Aug 2, 2018
0ed1b18
Fixes to coverity reported defects.
nickl- Aug 2, 2018
756d81a
Make CONTEXT_ARGS useable to things other than enum.
nickl- Aug 3, 2018
16d82e7
Add super constructor for anonymous subclass. see #488
nickl- Aug 3, 2018
362904d
Improved byte code and clean up
nickl- Aug 4, 2018
2ccaaad
Bean Properties 3.0 see #489 fixes #461
nickl- Aug 4, 2018
a06f155
Removed .jj grammar definition.
nickl- Aug 6, 2018
6f8a75a
Fix coverity dubious method used default encoding defects.
nickl- Aug 6, 2018
5c3f479
Move Remote class to servlet package.
nickl- Aug 7, 2018
8e8de0e
Parser errors with anonymous sub class as method args.
nickl- Aug 7, 2018
8e712ba
Grammar optimisation reducing 17 productions down to 4.
nickl- Aug 9, 2018
1dbf23e
Interpreter: cache getBshPrompt and ensure streams not null.
nickl- Aug 9, 2018
4a39f00
Add additional document friendly operators.
nickl- Aug 9, 2018
b951740
Apply appropriate java operator rules for null values.
nickl- Aug 9, 2018
4103acc
Unit test to prove issue is fixed #456.
nickl- Aug 9, 2018
a3da4d0
Primitive number updates.
nickl- Aug 9, 2018
964155c
Add system independent properties for line and path separator
Aug 10, 2018
6a43ee6
Remove an insidious tab character
Aug 10, 2018
15e9d12
Fix escape for string and char literals.
nickl- Aug 14, 2018
f8ee5f3
Fix for abstract method implementation sort comparator.
nickl- Aug 16, 2018
a386e74
Apply missing license header in files
nickl- Aug 16, 2018
32e8be5
Replacement member cache, lookup and invocation.
nickl- Aug 20, 2018
c42361a
Cache creation of block name space for reuse.
nickl- Aug 20, 2018
6808fcf
Change the test to revert to the original lf line endings, but prior …
Aug 21, 2018
2c1f344
Add a test for post-fix operator on arrays
Aug 21, 2018
85fcf7f
sort
pgiffuni Aug 29, 2018
161ff86
updating checkstile to the latest
stefanofornari Sep 16, 2018
8a43c11
Update Operators.java
jmetertea Oct 3, 2018
c42a6b8
Update PreparsedScriptTest.java
jmetertea Oct 3, 2018
06bdb90
Update PreparsedScriptTest.java
jmetertea Oct 3, 2018
0585cf1
Update PreparsedScriptTest.java
jmetertea Oct 3, 2018
95ec9e7
Update PreparsedScriptTest.java
jmetertea Oct 3, 2018
3e1d662
Update PreparsedScriptTest.java
jmetertea Oct 3, 2018
a074eff
Add License badge
pgiffuni Jan 17, 2019
395e977
Comment out Coverity since it's temporarily down
pgiffuni Jan 17, 2019
27bff58
Fix markdown comment syntax
pgiffuni Jan 17, 2019
b7892c3
Bah .. .remove the coverity line for now
pgiffuni Jan 17, 2019
0216aac
Short description in the Title
pgiffuni Jan 17, 2019
f839c4b
Compact license explanation.
pgiffuni Jan 20, 2019
498b379
Coverity is back
pgiffuni Feb 14, 2019
54ffc05
Update README.md
pgiffuni Feb 14, 2019
e2c6b2e
Corrected a typo in bsh-bsf-engine; bfs -> bsf
drosenbauer Feb 27, 2019
e38a926
Corrected usage of Interpreter.DEBUG to the current ThreadLocal data …
drosenbauer Feb 27, 2019
4395272
Fix typo in README
smehrbrodt Feb 20, 2019
7015b8e
Update mvn plugins
nickl- Mar 18, 2019
b000684
Implement instantiate java inner class
nickl- Aug 22, 2018
98628cd
Fix #393 void string concatenation.
nickl- Mar 19, 2019
d2e8749
fix README typo
nickl- Mar 19, 2019
e101198
Improve debug output.
nickl- Mar 19, 2019
d994609
Added command to read file.
nickl- Mar 19, 2019
809e980
Refactor MapEntry and improve array base type
nickl- Mar 19, 2019
1696e93
Remove personalised banners.
nickl- Mar 19, 2019
89c64cf
Fix #545 unknown object property return void
nickl- Mar 19, 2019
b915d67
Improved type safety
nickl- Mar 19, 2019
1b0c384
Unit test private methods
nickl- Mar 19, 2019
1cd0f6a
Test second argument varargs.
nickl- Mar 19, 2019
ad80459
Map Entry unit tests
nickl- Mar 19, 2019
92caa0f
No such element array iterator.
nickl- Mar 19, 2019
5c0e5d6
Improve parse error exception message.
nickl- Mar 19, 2019
ac08a8d
Fixes #544 object methods return void
nickl- Mar 19, 2019
d4108b8
Fixes #530 do not close `ScriptContext` writers
nickl- Mar 19, 2019
7faec16
Add build number to version
nickl- Mar 19, 2019
bb3ea02
Roll back interpreter autocloseable.
nickl- Mar 19, 2019
04ae91a
Fixes #81 and #17 mvn package descriptor
nickl- Mar 19, 2019
662fa5a
Removed faulty unit test.
nickl- Mar 19, 2019
6f0af31
Change banners to master branch.
nickl- Mar 19, 2019
90b2c74
Remove redundant isBshIterable
nickl- Mar 19, 2019
fdddee3
unit test strings.bsh fails on windows
nickl- Mar 20, 2019
5ec43ed
Add test for method selection with null parameter - identified in Iss…
May 28, 2019
89d39f7
Merge pull request #552 from opeongo/master
nickl- May 28, 2019
6bf3238
notice and roadmap update
nickl- Jun 7, 2019
b7ce43d
Less for more
nickl- Jun 8, 2019
ffd6fcb
Remove redundant isBshIterable
nickl- Mar 19, 2019
23e5b3c
Fix whitespace.
nickl- Jun 15, 2019
b95a2b0
Clear array initializer eval cache.
nickl- Jun 15, 2019
3408e52
Added ScriptEngine compile with args test.
nickl- Jun 15, 2019
1384054
Improved Node and SimpleNode.
nickl- Jun 15, 2019
35e3962
More code coverage.
nickl- Jun 15, 2019
d4256fa
Improved code coverage.
nickl- Jun 16, 2019
3b589ce
Exposing ScriptEngine compiled methods.
nickl- Jun 16, 2019
9b544dd
Add support for empty List and Map expressions.
nickl- Jun 17, 2019
01a034b
Improve BshScriptTestCase
nickl- Jun 18, 2019
67d043e
POM: Add developer
nickl- Jun 18, 2019
7da3148
POM: javacc jdk version
nickl- Jun 18, 2019
46782cf
POM: jacoco plugin tweaks
nickl- Jun 18, 2019
9c5451b
One more edge case for #513 and the caching issue
nickl- Jun 19, 2019
f31d614
Fixed broken links
nickl- Jun 20, 2019
96de3d9
Improve and normalise source from script file functionality
nickl- Jun 21, 2019
06a6426
Documentation and formatting
nickl- Jun 21, 2019
de81114
Optimised string manipulation.
nickl- Jun 21, 2019
b9d3a1b
Eval only interpreter does not require an input stream.
nickl- Jun 21, 2019
cb6a345
Exception asserts fail on OpenJ9
nickl- Jun 21, 2019
3dd4c6a
Cosmetics only
nickl- Jun 22, 2019
de1e093
Simplify SimpleNode usage
nickl- Jun 24, 2019
5d90ee0
Sort tests when using verbose
nickl- Jun 24, 2019
7b2cabc
Optimise Interpreter Parser init.
nickl- Jun 24, 2019
6012c31
Add name space constructor name only.
nickl- Jun 24, 2019
35911c3
Additional Interpreter constructors.
nickl- Jun 25, 2019
6a3e6d0
Extract method terminatedScript.
nickl- Jun 25, 2019
7ddef7a
Optimise pre-parsed script implementation.
nickl- Jun 25, 2019
542bd0e
Updates to print command.
nickl- Jun 25, 2019
0ae2c1c
Performance: O(1) Listener add/delete
morris821028 Jul 14, 2019
800e6c0
Merge pull request #562 from morris821028/master
nickl- Jul 17, 2019
25427cb
Fix plus assign null string.
nickl- Jul 21, 2019
bd63c84
Refactor and optimise binary expression AST.
nickl- Jul 21, 2019
e16ea4a
Add 'setClassLoader' with argument 'forceClassLoader'
matthinc Oct 13, 2019
28d09fe
Fix .travis.yml
matthinc Oct 13, 2019
37688c7
[maven-release-plugin] prepare release 3.0-alpha-1
stain Dec 16, 2019
a9da27a
[maven-release-plugin] prepare for next development iteration
stain Dec 16, 2019
fabaa5d
Deploy directly to OSS Sonatype instead of BinTray
stain Dec 16, 2019
7fb24c2
Avoid jdk_switcher
stain Dec 16, 2019
ef21e91
Use Travis dist xenial to get modern Java
stain Dec 16, 2019
318d6d6
oracle JDK 8 not available, but we can be brave with 14!
stain Dec 16, 2019
53be487
test against JDK 13, 14 is not yet released
stain Dec 16, 2019
af1b837
Bump checkstyle from 8.10 to 8.29 in /bsh-bsf-engine
dependabot[bot] Jan 31, 2020
6014e15
Merge pull request #582 from beanshell/dependabot/maven/bsh-bsf-engin…
pgiffuni Feb 4, 2020
27d526a
Force the use of an external ClassLoader - Apply PR suggestions
matthinc Feb 12, 2020
be47004
Merge branch 'master' into master
matthinc Feb 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/.metadata/
.recommenders
.gitignore
.classpath
.settings
.project

classes
dist
javadoc
docs/manual/bshcommands-bshdoc.xml
target

nb-configuration.xml
nbproject
nbactions.xml

BeanShell.iml
BeanShell.ipr
BeanShell.iws
*gradle*
*.ser
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: java
dist: xenial

jdk:
- oraclejdk11
- oraclejdk13
- openjdk8
- openjdk11

# How to do multiple JDKs keep changing, jdk_switcher is no longer found
# https://docs.travis-ci.com/user/languages/java/

#script:
# - jdk_switcher use oraclejdk8
# - mvn clean install -Djacoco.skip=true -DskipTests
# - jdk_switcher use oraclejdk9
# - mvn test -DargLine=--illegal-access=deny
# - jdk_switcher use oraclejdk8
# - mvn test -Daccessibility=true -Dverbose=true
cache:
directories:
- $HOME/.m2
after_success:
- bash <(curl -s https://codecov.io/bash)
Loading