Skip to content

Updating my local version#2

Merged
kmader merged 18 commits into4Quant:masterfrom
scijava:master
Jan 21, 2015
Merged

Updating my local version#2
kmader merged 18 commits into4Quant:masterfrom
scijava:master

Conversation

@kmader
Copy link
Copy Markdown

@kmader kmader commented Jan 21, 2015

No description provided.

hinerm and others added 18 commits December 19, 2014 13:50
The defualt log level was previously set to WARN, meaning INFO-level
logging and above would not be output. This was confusing, as INFO
statements were intended to be used to convey basic, helpful
information.

To that end, the default level has been dropped down to INFO. This also
required updating log.info statements that were outputting DEBUG-style
information to be similarly adjusted to log.debug statements.
Having this as a WARN-level log statement is overly aggressive. No
exceptions were thrown, and skipping a non-existant directory is
expected behavior, thus this statement is downgraded to DEBUG-level.
Make INFO the default log level
Updated to pom-scijava 5.3.3
Also add API for setting the strictness later, if desired.

This will be useful so that we can behave strictly (or not)
in later situations, particularly during context injection.
This will enable subsequent changes to the error handling of those
respective methods.
When Context#inject(Object) is called, there are all kinds of crazy
things that can potentially happen, particularly class loading failures
(e.g., NoClassDefFoundError) due to missing dependencies when scanning
the given object's fields and methods.

When the context is in non-strict mode, we want to try very hard not to
throw an exception, but instead simply log an error, when something goes
wrong during the injection. And we want the injection to proceed
tenaciously, so that if something goes wrong at one stage, other stages
still might complete successfully.

This commit is best viewed with git's "-b" flag.
This branch makes the SciJava application framework try harder to keep
going when something goes wrong during context injection while in
non-strict mode.

The idea is that it might help applications succeed in starting up when
they otherwise would have failed with an exception.

In practice, it is still a crapshoot, since the normal assumptions about
which fields have been successfully injected no longer hold while in
non-strict mode; consequently, subsequent NPEs are much more likely.
Migrated from the imglib2-meta project.
Add a Named interface for things with names.

This was originally part of the imglib2-meta project (and later migrated
to imagej-common as a deprecated class). But it really fits best here in
the SciJava Common library.
kmader added a commit that referenced this pull request Jan 21, 2015
Updating my local version
@kmader kmader merged commit 41e9319 into 4Quant:master Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants