opeongo

Results 32 issues of opeongo

Modify BSHTryStatement to throw the original TargetError that contains the complete script stack trace, rather than a stack trace that only starts from the try statement. Without the complete stack...

From the beginning BeanShell has had baked in the concept of a capability to automatically bypass class member (fields, constructors, methods) accessibility constraints, controlled by the `Capabilities.setAccessibility(boolean)` method. However the...

out of scope v3.0

The following code defies all expectations and breaks code that expects Java semantics: https://github.com/beanshell/beanshell/blob/5e54a86566ff81e20af75cb221d534ba956a7709/src/main/java/bsh/BSHAllocationExpression.java#L305 Can you explain the rational for initializing arrays with default values? BeanShell is a Java-type language,...

There are a couple of changes in #721 that remove useful warning messages for the average programmer. Sure, this PR removes warning from the interpreter, but this might just be...

This is a fix for issue #556 Catch evaluation errors that are caused by common scripting errors: syntax, name lookup failures, etc. Allow the BeanShell script authors to catch these...

As the title says, include jdk21 (a long term support release) to the test matrix

The console delegate methods in Interpreter were missing a method to change the input stream. This PR adds the missing method.

- All comments are special tokens - remove BSHFormalComment and add accessor methods to Parser - add and modify tests - adjust bshdoc.bsh to use accessor methods

This is only a partial fix because each change uncovered another subtle issue. Still work to be done. I am posting this PR so that someone else who has a...