summaryrefslogtreecommitdiff
path: root/test/pending/neg/plugin-rafter-before-1/testsource.scala
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-05-18 06:01:00 -0700
committerSom Snytt <som.snytt@gmail.com>2013-05-18 06:01:00 -0700
commite0bd62c5f24fba233a879f6b97cd61152183c3a0 (patch)
tree3b99a98f1eb464db373bb6072c09687ef9b5dcee /test/pending/neg/plugin-rafter-before-1/testsource.scala
parent07ef61a7d759c3944e01a77096346f5d2f1e7c74 (diff)
downloadscala-e0bd62c5f24fba233a879f6b97cd61152183c3a0.tar.gz
scala-e0bd62c5f24fba233a879f6b97cd61152183c3a0.tar.bz2
scala-e0bd62c5f24fba233a879f6b97cd61152183c3a0.zip
SI-7494 Each plugin must only be instantiated once.
The old behavior was that Plugin.loadAllFrom took a distinct list of plugin locations. The broken behavior incorrectly punted to the pruning algorithm in Plugins.loadPlugins$pick. The new behavior is to distinctify the list of class names to load. This is more robust; under the old scheme, specifying the continuations.jar under two file names would fail as described in the ticket. Pruning a plugin by disabling (-Xplugin-disable) or because it steps on someone else's phase name suffers the same defect. There is no way to tell the plugin it has been benched. And you know that global I gave you? Can I have it back?
Diffstat (limited to 'test/pending/neg/plugin-rafter-before-1/testsource.scala')
0 files changed, 0 insertions, 0 deletions