Opened 10 years ago

Closed 10 years ago

#9444 closed defect (fixed)

shrinksafe dies on debugger; calls

Reported by: dante Owned by: dante
Priority: high Milestone: 1.4
Component: ShrinkSafe Version: 1.3.0
Keywords: Cc: Adam Peller, Richard Backhouse
Blocked By: Blocking:

Description

shrinksafe throws a very cryptic message when it encounters a 'debugger;' statement in code.

Rhino already has a token for this, we're just not passing it along. Propose adding match for Token.DEBUGGER, throwing a big warning about debugger; in production code, and go ahead and pass the call along to the output source. (preventing the violent fail)

also suggest making debugger; addition/removal an option of shrinksafe.jar - so found debuggers; will be omitted after pass. but that is a future enhancement and just me mentioning the idea, not in the upcoming fix for this ticket.

Change History (3)

comment:1 Changed 10 years ago by Adam Peller

Cc: Adam Peller Richard Backhouse added

comment:2 Changed 10 years ago by Adam Peller

Fixed by Pete in [18380]

comment:3 Changed 10 years ago by Adam Peller

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.