Re: RFR [9] 8143554: UnsupportedOperationException is not thrown for unsupported options

2015-12-03 Thread Artem Smotrakov
Hi Svetlana, I'll leave the mail review to official reviewers, a couple of minor comments about your test. It seems to work fine, but you may want to use "else if" in UnsupportedOptionsTest.getOption() method because "Unsupported socket type" error can occure in case of supported socket type

RFR [9] 8143554: UnsupportedOperationException is not thrown for unsupported options

2015-12-03 Thread Svetlana Nikandrova
Hello, please review a simple fix for: https://bugs.openjdk.java.net/browse/JDK-8143554 See webrev here: http://cr.openjdk.java.net/~kshefov/8143554/webrev.00/ Fix added explicit check for option support to getOption and setOption so