This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
For a catch statement like: } catch (NotSupportedException | SystemException ex) { Logger.getLogger(MyTaskWithTransaction.class.getName()).log(Level.SEVERE, null, ex); } catch (RollbackException | HeuristicMixedException | HeuristicRollbackException | SecurityException | IllegalStateException ex) { Logger.getLogger(MyTaskWithTransaction.class.getName()).log(Level.SEVERE, null, ex); } NetBeans should show a hint that multi-catch is possible.
Defect; UnionType of an existing multi-catch is not handled properly
Fixed in jet-main#1ee9b237a894
Integrated into 'main-silver', will be available in build *201607260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1ee9b237a894 User: Svata Dedic <sdedic@netbeans.org> Log: #225929: support for joining multicatches