missing keyword 'throw' · Issue #726 · javaee/jaxb-v2 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

This repository was archived by the owner on Feb 5, 2019. It is now read-only.

@glassfishrobot

Description

@glassfishrobot

javax.xml.bind.ContextFinder.java, lines 141ff:

if(!(context instanceof JAXBContext)) {
// the cast would fail, so generate an exception with a nice message
handleClassCastException(context.getClass(), JAXBContext.class);
}

==> 'throw' missing in front of the handle... call.

Environment

Operating System: All
Platform: All

Affected Versions

[2.2]