()
| 1126 | } |
| 1127 | |
| 1128 | static void staticInit() |
| 1129 | { |
| 1130 | try { |
| 1131 | systemLineSeparator = System.getProperty("line.separator"); |
| 1132 | debug = System.err; |
| 1133 | DEBUG = Boolean.getBoolean("debug"); |
| 1134 | TRACE = Boolean.getBoolean("trace"); |
| 1135 | LOCALSCOPING = Boolean.getBoolean("localscoping"); |
| 1136 | COMPATIBIILTY = Boolean.getBoolean("bsh.compatibility"); |
| 1137 | String outfilename = System.getProperty("outfile"); |
| 1138 | if ( outfilename != null ) |
| 1139 | redirectOutputToFile( outfilename ); |
| 1140 | } catch ( SecurityException e ) { |
| 1141 | System.err.println("Could not init static:"+e); |
| 1142 | } catch ( Exception e ) { |
| 1143 | System.err.println("Could not init static(2):"+e); |
| 1144 | } catch ( Throwable e ) { |
| 1145 | System.err.println("Could not init static(3):"+e); |
| 1146 | } |
| 1147 | } |
| 1148 | |
| 1149 | /** |
| 1150 | Specify the source of the text from which this interpreter is reading. |
no test coverage detected