1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/SAXParserFactoryAdaptor.java Thu Aug 08 10:10:38 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/SAXParserFactoryAdaptor.java Fri Aug 23 09:57:21 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -42,6 +42,8 @@ 1.11 * {@link SAXParserFactory} implementation that ultimately 1.12 * uses {@link XMLParser} to parse documents. 1.13 * 1.14 + * @deprecated 1.15 + * 1.16 * @author 1.17 * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) 1.18 */ 1.19 @@ -58,7 +60,7 @@ 1.20 } 1.21 1.22 public void setFeature(String name, boolean value) { 1.23 - ; 1.24 + throw new UnsupportedOperationException("XSOM parser does not support JAXP features."); 1.25 } 1.26 1.27 public boolean getFeature(String name) {