MemoryImageSource.java, [...]: New versions from classpath.
2003-07-14 Michael Koch <konqueror@gmx.de> * java/awt/image/MemoryImageSource.java, java/beans/PropertyEditorManager.java, javax/naming/CompoundName.java, javax/naming/spi/NamingManager.java, javax/swing/AbstractButton.java, javax/swing/ButtonModel.java, javax/swing/SwingUtilities.java, javax/swing/UIManager.java, javax/swing/colorchooser/DefaultColorSelectionModel.java, javax/swing/event/AncestorEvent.java, javax/swing/event/InternalFrameEvent.java, java/util/zip/ZipFile.java: New versions from classpath. From-SVN: r69321
This commit is contained in:
parent
6e98504002
commit
6a71677713
13 changed files with 1095 additions and 1077 deletions
|
@ -142,13 +142,17 @@ public class CompoundName implements Name, Cloneable, Serializable
|
|||
// Otherwise, fall through.
|
||||
}
|
||||
// Quotes are only special at the start of a component.
|
||||
else if (new_element.length () == 0 && special == beginQuote)
|
||||
else if (new_element.length () == 0
|
||||
&& special == beginQuote
|
||||
&& beginQuote != null)
|
||||
{
|
||||
quote = endQuote;
|
||||
i += special.length ();
|
||||
continue;
|
||||
}
|
||||
else if (new_element.length () == 0 && special == beginQuote2)
|
||||
else if (new_element.length () == 0
|
||||
&& special == beginQuote2
|
||||
&& beginQuote2 != null)
|
||||
{
|
||||
quote = endQuote2;
|
||||
i += special.length ();
|
||||
|
|
|
@ -83,13 +83,17 @@ public class NamingManager
|
|||
|
||||
try
|
||||
{
|
||||
icf = (InitialContextFactory) Class.forName (java_naming_factory_initial).newInstance ();
|
||||
icf = (InitialContextFactory)Class.forName
|
||||
(java_naming_factory_initial, true,
|
||||
Thread.currentThread().getContextClassLoader())
|
||||
.newInstance ();
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
NoInitialContextException e
|
||||
= new NoInitialContextException ("Can't load InitialContextFactory class: "
|
||||
+ java_naming_factory_initial);
|
||||
= new NoInitialContextException
|
||||
("Can't load InitialContextFactory class: "
|
||||
+ java_naming_factory_initial);
|
||||
e.setRootCause(exception);
|
||||
throw e;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue