aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/text
AgeCommit message (Collapse)AuthorFilesLines
2003-12-02SimpleDateFormat.java (compileFormat): isLowerCase() and isUpperCase() allow ↵Ito Kazumitsu1-2/+2
too many characters. 2003-12-02 Ito Kazumitsu <kaz@maczuka.gcd.org> * java/text/SimpleDateFormat.java (compileFormat): isLowerCase() and isUpperCase() allow too many characters. Just use >= 'A' && <= 'Z' || >= 'a' && <= 'z'. From-SVN: r74188
2003-12-02FieldPosition.java (equals): Fixed comment.Dalibor Topic1-1/+1
2003-12-02 Dalibor Topic <robilad@kaffe.org> * java/text/FieldPosition.java (equals): Fixed comment. From-SVN: r74187
2003-12-02DateFormat.java: Explicitely import used classes.Michael Koch1-1/+6
2003-12-02 Michael Koch <konqueror@gmx.de> * java/text/DateFormat.java: Explicitely import used classes. From-SVN: r74174
2003-11-27[multiple changes]Michael Koch1-5/+71
2003-11-27 Dalibor Topic <robilad@kaffe.org> * java/text/FieldPosition.java (equals): Adapted to handle field_attribute. Added fast-circuit check for comparison to self. Replaced use of instanceof by getClass to fix symmetry for derived types. (toString): Adapted to handle field_attribute. Improved readability. (hashCode): New method. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FieldPosition.java (field_attribute): New field. (FieldPosition (Format.Field), FieldPosition(Format.Field, int), getFieldAttribute): New methods. From-SVN: r73988
2003-11-27DecimalFormatSymbols.java (locale): New field.Guilhem Lavaux1-3/+14
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormatSymbols.java (locale): New field. (DecimalFormatSymbols (Locale)): Set locale. (serialVersionOnStream): Upgraded to number 2. (readObject): Assign locale if it wasn't by the serializer. From-SVN: r73987
2003-11-27FormatCharacterIterator.java: Documented the class andGuilhem Lavaux1-54/+118
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FormatCharacterIterator.java: Documented the class and 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/FormatCharacterIterator.java: Fixed some typos. From-SVN: r73986
2003-11-27[multiple changes]Michael Koch1-1/+158
2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/NumberFormat.java: (getIntegerInstance) Added the java version in the comments. 2003-11-27 Mark Wielaard <mark@klomp.org> * java/text/NumberFormat.java: Import java.io.InvalidObjectException. (readResolve): Reformat. 2003-11-27 Guilhem Lavaux <guilhem@kaffe.org> * java/text/NumberFormat.java (NumberFormat.Field): New implemented class to match Java 1.4. (getIntegerInstance): Two new Java 1.4 methods.o From-SVN: r73985
2003-11-19[multiple changes]Guilhem Lavaux2-0/+47
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> Jim Pick <jim@kaffe.org> * java/text/DecimalFormat.java (getCurrency, setCurrency): New methods. 2003-11-19 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormatSymbols.java (getCurrency, setCurrency): New methods. Co-Authored-By: Jim Pick <jim@kaffe.org> From-SVN: r73735
2003-11-11Font.java, [...]: Removed some redundant obj == null checks.Michael Koch1-3/+0
2003-11-11 Michael Koch <konqueror@gmx.de> * java/awt/Font.java, java/awt/datatransfer/DataFlavor.java, java/math/BigInteger.java, java/net/Inet4Address.java, java/net/Inet6Address.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/security/cert/CertStore.java, java/sql/Timestamp.java, java/text/SimpleDateFormat.java, javax/naming/CompoundName.java: Removed some redundant obj == null checks. From-SVN: r73448
2003-10-29[multiple changes]Michael Koch4-2/+522
2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/text/DateFormat.java (Field): New public static inner class. * java/text/Format.java (Field): Likewise. (formatToCharacterIterator): New method. * java/text/FormatCharacterIterator.java: New file. 2003-10-29 Mark Wielaard <mark@klomp.org> From Guilhem Lavaux <guilhem.lavaux@free.fr> * java/util/Currency.java: New file. 2003-10-29 Michael Koch <konqueror@gmx.de> * Makefile.am (ordinary_java_source_files): Added java/text/FormatCharacterIterator.java and java/util/Currency.java. * Makefile.in: Regenerated. From-SVN: r73046
2003-10-202003-10-20 Michael Koch <konqueror@gmx.de>Michael Koch1-11/+30
* java/text/RuleBasedCollator.java (RuleBasedCollator): Check rules not empty, fixed search in already existing collation elements. (is_special): Removed common whitespace characters. (text_argument): Dont return on whitespaces, add characters between two ' to string buffer. From-SVN: r72716
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch1-118/+196
* java/text/RuleBasedCollator.java (RuleBasedCollator): Moved around, documentation added. (compare): Documentation added. (equals): Likewise. (getCollationElementIterator): Likewise. (getCollationKey): Likewise. (getRules): Likewise. (hashCode): Likewise. From-SVN: r72528
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch1-13/+14
* java/text/RuleBasedCollator.java (CollationElement): Renamed from RBCElement and moved into RuledBasedCollator as inner class. From-SVN: r72525
2003-10-152003-10-15 Michael Koch <konqueror@gmx.de>Michael Koch2-9/+42
* java/text/CollationElementIterator.java (CollationElementIterator): Moved, documenatation added, call setText. (next): Reformated. (reset): Reformated. (setText): New method. (getOffset): New method. * java/text/CollationKey.java (getSourceString): Reformated. (hashCode): Reformated. (toByteArray): Reformated. From-SVN: r72523
2003-10-15AttributedCharacterIterator.java, [...]: Reformated.Michael Koch2-260/+220
2003-10-15 Michael Koch <konqueror@gmx.de> * java/text/AttributedCharacterIterator.java, java/text/CharacterIterator.java: Reformated. From-SVN: r72518
2003-10-11AttributedCharacterIterator.java, [...]: Removed redundant modifiers.Michael Koch2-93/+25
2003-10-11 Michael Koch <konqueror@gmx.de> * java/text/AttributedCharacterIterator.java, java/text/CharacterIterator.java: Removed redundant modifiers. From-SVN: r72357
2003-10-082003-10-08 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+2
* java/text/SimpleDateFormat.java (compileFormat): Replace Character.isLetter() test with Character.isLowerCase() || Character.isUpperCase(). From-SVN: r72239
2003-09-28DateFormat.java (format): Throw IllegalArgumentException if j' is not a ↵Bryce McKinlay2-23/+25
Number or Date instance. * java/text/DateFormat.java (format): Throw IllegalArgumentException if j' is not a Number or Date instance. * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList instead of Vector. From-SVN: r71871
2003-09-28SimpleDateFormat (parse): Revert patch of 2003-09-25.Bryce McKinlay1-12/+10
* java/text/SimpleDateFormat (parse): Revert patch of 2003-09-25. Don't call setTimeZone on calendar. From-SVN: r71870
2003-09-25SimpleDateFormat.java (parse): Don't use class calendar field.Guilhem Lavaux1-11/+12
2003-09-25 Guilhem Lavaux <guilhem@kaffe.org> * java/text/SimpleDateFormat.java (parse): Don't use class calendar field. From-SVN: r71782
2003-09-25DecimalFormat.java (format): Don't immediatly round baseNumber to long.Guilhem Lavaux1-5/+5
2003-09-25 Guilhem Lavaux <guilhem@kaffe.org> * java/text/DecimalFormat.java (format): Don't immediatly round baseNumber to long. (setMinimumIntegerDigits): Call super. (setMinimumFractionDigits): Likewise. (setMaximumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. From-SVN: r71773
2003-08-26Acl.java: Fix broken p tag.Mark Wielaard1-37/+37
2003-08-26 Mark Wielaard <mark@klomp.org> * java/security/acl/Acl.java: Fix broken p tag. * java/text/DateFormatSymbols.java: Correctly open and close li tags. * javax/swing/border/LineBorder.java: Close img tag alt attributes. * javax/swing/plaf/TreeUI.java: Likewise. * javax/swing/plaf/basic/BasicTreeUI.java: Likewise. * java/util/Properties.java: Use the word umlaut, not &auml; in api documentation. * java/util/PropertyResourceBundle.java: Likewise and add closing code tag. From-SVN: r70825
2003-08-04DecimalFormat.java (format): avoid ArithmeticException when groupingSize is 0.David P Grove1-4/+6
2003-08-04 David P Grove <groved@us.ibm.com> * java/text/DecimalFormat.java (format): avoid ArithmeticException when groupingSize is 0. (parse): Likewise. From-SVN: r70156
2003-07-24SimpleDateFormat.java (format): Zero pad unless field size is 2.H. Väisänen1-4/+8
2003-07-24 H. V�is�nen <hvaisane@joyx.joensuu.fi> * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad unless field size is 2. From-SVN: r69744
2003-06-272003-06-27 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+1
* java/text/Format.java (serialVersionUID): Fixed value. From-SVN: r68576
2003-06-21DateFormat.java, [...]: New versions from classpath.Michael Koch2-8/+21
2003-06-21 Michael Koch <konqueror@gmx.de> * java/text/DateFormat.java, java/text/SimpleDateFormat.java, java/util/Locale.java: New versions from classpath. From-SVN: r68300
2003-06-192003-06-19 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+3
* java/text/CollationElementIterator.java (NULLORDER): Initialize with -1 as JDK documentation says. From-SVN: r68199
2003-06-08For PR libgcj/11085:Tom Tromey2-5/+18
* java/text/SimpleDateFormat.java (parse(String,ParsePosition)): Limit number of characters in numeric field when required. * java/text/DecimalFormat.java (parse(String,ParsePosition)): Respect maximumIntegerDigits. From-SVN: r67633
2003-06-05SimpleDateFormat.java (SimpleDateFormat): Added ↵Scott Gilbertson1-1/+4
numberFormat.setParseIntegerOnly(true). 2003-06-05 Scott Gilbertson <scottg@mantatest.com> * java/text/SimpleDateFormat.java (SimpleDateFormat): Added numberFormat.setParseIntegerOnly(true). From-SVN: r67504
2003-05-19CollationKey.java: Merged copyright and dat from classpath.Michael Koch2-2/+88
2003-05-19 Michael Koch <konqueror@gmx.de> * java/text/CollationKey.java: Merged copyright and dat from classpath. * java/text/RuleBasedCollator.java: Merged class documentation from classpath. From-SVN: r66955
2003-04-302003-04-30 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+15
* java/text/BreakIterator.java (clone): New method. From-SVN: r66289
2003-04-30CollationElementIterator.java, [...]: Merged copyright and documentation ↵Michael Koch3-86/+300
from classpath and rearranged some code. 2003-04-30 Michael Koch <konqueror@gmx.de> * java/text/CollationElementIterator.java, java/text/CollationKey.java, java/text/RuleBasedCollator.java: Merged copyright and documentation from classpath and rearranged some code. No code changes done. From-SVN: r66288
2003-03-29MessageFormat.java: Removed some whitespace.Tom Tromey1-1/+1
* java/text/MessageFormat.java: Removed some whitespace. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * gnu/javax/rmi/PortableServer.java, gnu/javax/rmi/CORBA/DelegateFactory.java, gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, gnu/javax/rmi/CORBA/StubDelegateImpl.java, gnu/javax/rmi/CORBA/UtilDelegateImpl.java, gnu/javax/rmi/CORBA/ValueHandlerImpl.java, javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java, javax/rmi/PortableRemoteObject.java, javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java, javax/rmi/CORBA/PortableRemoteObjectDelegate.java, javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java, javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java, javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java, javax/rmi/CORBA/ValueHandler.java: New files from Classpath. From-SVN: r65024
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch2-0/+4
* java/rmi/activation/Activatable.java (serialVersionUID): New member variable. * java/rmi/activation/ActivationGroup.java (serialVersionUID): New member variable. * java/rmi/activation/ActivationGroupDesc.java (serialVersionUID): New member variable. * java/rmi/registry/Registry.java: Reformated. (Registry): Deprecated. * java/rmi/server/LoaderHandler.java Reformated. (LoaderHandler): Deprecated. * java/rmi/server/LogStream.java Reformated. (LogStream): Deprecated. * java/rmi/server/Operation.java (Operation): Deprecated. * java/rmi/server/RMIFailureHandler.java: Reformated. * java/rmi/server/RMISocketFactory.java: Reformated. * java/rmi/server/RemoteCall.java (RemoteCall): Deprecated. * java/rmi/server/RemoteStub.java: Reformated. * java/rmi/server/Skeleton.java Reformated. (Skeleton): Deprecated. From-SVN: r64655
2002-11-10Externalizable.java, [...]: New versions from Classpath.Tom Tromey1-0/+2
* java/io/Externalizable.java, java/io/FilePermission.java, java/io/ObjectStreamConstants.java, java/io/Serializable.java, java/io/SerializablePermission.java, java/text/Format.java, java/util/AbstractMap.java, java/util/HashMap.java, java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New versions from Classpath. From-SVN: r58996
2002-10-04BeanContextChildSupport.java: Added serialVersionUID.Michael Koch1-4/+4
2002-10-04 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextChildSupport.java: Added serialVersionUID. * java/text/Collator.java: (compare): Made documentation HTML-aware. * javax/naming/BinaryRefAddr.java: Added serialVersionUID. * javax/naming/Name.java: Added serialVersionUID. From-SVN: r57813
2002-07-022002-07-02 Tom Tromey <tromey@redhat.com>Tom Tromey2-12/+7
David Hovemeyer <daveho@cs.umd.edu> * java/text/ChoiceFormat.java (format(double,StringBuffer,FieldPosition)): Fix fencepost error in check loop. * java/text/MessageFormat.java (format(Object[],StringBuffer,FieldPosition): Pass all arguments to MessageFormat. Co-Authored-By: David Hovemeyer <daveho@cs.umd.edu> From-SVN: r55191
2002-06-15ChoiceFormat.java: Update comments from Classpath.Nathanael Nerode2-65/+49
2002-06-15 Nathanael Nerode <neroden@twcny.rr.com> * java/text/ChoiceFormat.java: Update comments from Classpath. * java/text/ParseException.java (serialVersionUID): New field from Classpath. * java/text/ParseException.java: Update formatting & comments from Classpath. From-SVN: r54654
2002-01-22Add license clarification.Mark Wielaard20-100/+320
From-SVN: r49104
2001-12-18CollationElementIterator.java (secondaryOrder): Cast result to `short'.Tom Tromey1-3/+3
* java/text/CollationElementIterator.java (secondaryOrder): Cast result to `short'. (tertiaryOrder): Likewise. From-SVN: r48162
2001-10-31HACKING, [...]: Fix spelling errors.Joseph Myers1-1/+1
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java, gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java, java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java, java/io/CharConversionException.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/WriteAbortedException.java, java/io/natFileWin32.cc, java/lang/Class.h, java/lang/natClassLoader.cc, java/lang/natObject.cc, java/lang/Package.java, java/net/BindException.java, java/net/ConnectException.java, java/net/ProtocolException.java, java/net/SocketException.java, java/net/UnknownServiceException.java, java/security/cert/X509Certificate.java, java/security/interfaces/DSAKey.java, java/security/SecureRandom.java, java/security/SignedObject.java, java/sql/DatabaseMetaData.java, java/text/DecimalFormatSymbols.java, java/util/jar/Attributes.java, java/util/jar/JarEntry.java, java/util/jar/JarInputStream.java, java/util/jar/JarOutputStream.java, java/util/Calendar.java, java/util/Collections.java, java/util/GregorianCalendar.java, java/util/HashMap.java, java/util/List.java, java/util/Properties.java, java/util/Timer.java, java/util/Vector.java, java/util/WeakHashMap.java, javax/naming/NamingException.java, testsuite/libjava.lang/Thread_Wait.java, org/xml/sax/helpers/DefaultHandler.java, org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java, ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix spelling errors. * configure: Regenerate. From-SVN: r46665
2001-10-05DecimalFormat.java (format): Use localized minus sign when generating ↵Tom Tromey1-2/+6
exponent; never use `+'. * java/text/DecimalFormat.java (format): Use localized minus sign when generating exponent; never use `+'. Use floor to compute exponent. From-SVN: r46045
2001-09-07RuleBasedCollator.java (clone): Rewrote.Tom Tromey3-444/+490
* java/text/RuleBasedCollator.java (clone): Rewrote. (RuleBasedCollator(RuleBasedCollator)): Removed. * java/text/MessageFormat.java: Re-merged from Classpath. * java/text/DecimalFormat.java: Re-merged from Classpath. From-SVN: r45458
2001-09-05* java/text/DateFormatSymbols.java: Re-merged with Classpath.Tom Tromey1-6/+25
From-SVN: r45420
2001-09-05MessageFormat.java (setLocale): Don't catch ParseException here, ↵Bryce McKinlay1-8/+1
DecimalFormat.applyPattern() does not throw it. * java/text/MessageFormat.java (setLocale): Don't catch ParseException here, DecimalFormat.applyPattern() does not throw it. From-SVN: r45398
2001-09-05SimpleDateFormat.java: Re-merged with Classpath.Tom Tromey19-1815/+5199
* java/text/SimpleDateFormat.java: Re-merged with Classpath. * gnu/gcj/text/LocaleData.java, gnu/gcj/text/LocaleData_en.java, gnu/gcj/text/LocaleData_en_US.java: Removed. * java/text/DateFormatSymbols.java (clone): Use Classpath implementation. (equals): Simplified. (DateFormatSymbols): Look in gnu.java.locale for information. (DateFormatSymbols(DateFormatSymbols)): Removed. (safeGetResource): Removed. (DateFormatSymbols): Throws MissingResourceException. (ampmsDefault, erasDefault, localPatternCharsDefault, monthsDefault, shortMonthsDefault, shortWeekdaysDefault, weekdaysDefault, zoneStringsDefault): Removed. * java/text/Collator.java (getAvailableLocales): Use modified Classpath implementation. (getInstance): Look in gnu.java.locale for information. (clone): Rewrote. * java/text/MessageFormat.java: Reindented. (clone): Rewrote. * java/text/FieldPosition.java: Merged with Classpath. * java/text/ParsePosition.java: Merged with Classpath. * java/text/Format.java: Merged with Classpath. * java/text/StringCharacterIterator.java (StringCharacterIterator(StringCharacterIterator,int,int)): New constructor from Classpath. * java/text/Annotation.java, java/text/AttributedCharacterIterator.java, java/text/AttributedString.java, java/text/AttributedStringIterator.java: New from Classpath. * java/text/CharacterIterator.java: Copied from Classpath. * java/text/ChoiceFormat.java: Reindented. (clone): Removed. * gnu/java/text/BaseBreakIterator.java, gnu/java/text/CharacterBreakIterator.java, gnu/java/text/LineBreakIterator.java, gnu/java/text/LocaleData_en.java, gnu/java/text/LocaleData_en_US.java, gnu/java/text/SentenceBreakIterator.java, gnu/java/text/WordBreakIterator.java: Renamed from gnu/gcj/text/*. * gnu/gcj/text/BaseBreakIterator.java (last): Advance past final character. * java/text/BreakIterator.java (getAvailableLocales): Use Classpath implementation. (getInstance): Look in gnu.java.locale for information. (getCharacterInstance, getLineInstance, getSentenceInstance, getWordInstance): Look in gnu.java.text for implementations. * java/text/DecimalFormatSymbols.java: Reindented (clone): Use Classpath implementation. (DecimalFormatSymbols(DecimalFormatSymbols)): Removed. (DecimalFormatSymbols(Locale)): Look in gnu.java.locale for information. * java/text/DateFormat.java: Merged with Classpath. (getAvailableLocales): Use Classpath implementation. (format(Object,StringBuffer,FieldPosition)): Minor cleanup. (computeInstance): Look in gnu.java.locale for information. * java/text/NumberFormat.java: Reindented. (computeInstance): Look in gnu.java.locale for information. (getAvailableLocales): Use implementation from Classpath. (setMaximumIntegerDigits): Likewise. (setMinimumIntegerDigits): Likewise. (setMaximumFractionDigits): Likewise. (clone): Removed. * java/text/DecimalFormat.java: Reindented. * gnu/java/locale/LocaleInformation_en.java: Copied from Classpath. * gnu/java/locale/LocaleInformation_en_US.java: Copied from Classpath. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added all new files. (ordinary_java_source_files): Renamed or removed gnu/gcj/text/*. * java/security/spec/AlgorithmParameterSpec.java, java/security/spec/KeySpec.java: Re-merged with Classpath. From-SVN: r45390
2001-09-02Makefile.in: Rebuilt.Tom Tromey1-21/+78
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added UnsupportedClassVersionError. * java/lang/UnsupportedClassVersionError.java: New file from Classpath. * java/io/CharConversionException.java, java/io/EOFException.java, java/io/FileNotFoundException.java, java/io/IOException.java, java/io/InterruptedIOException.java, java/io/ObjectStreamException.java, java/io/OptionalDataException.java, java/io/StreamCorruptedException.java, java/io/SyncFailedException.java, java/io/UTFDataFormatException.java, java/io/UnsupportedEncodingException.java, java/lang/AbstractMethodError.java, java/lang/ArithmeticException.java, java/lang/ArrayIndexOutOfBoundsException.java, java/lang/ArrayStoreException.java, java/lang/ClassCastException.java, java/lang/ClassCircularityError.java, java/lang/ClassFormatError.java, java/lang/CloneNotSupportedException.java, java/lang/Error.java, java/lang/Exception.java, java/lang/ExceptionInInitializerError.java, java/lang/IllegalAccessError.java, java/lang/IllegalAccessException.java, java/lang/IllegalArgumentException.java, java/lang/IllegalMonitorStateException.java, java/lang/IllegalStateException.java, java/lang/IllegalThreadStateException.java, java/lang/IncompatibleClassChangeError.java, java/lang/IndexOutOfBoundsException.java, java/lang/InstantiationError.java, java/lang/InstantiationException.java, java/lang/InternalError.java, java/lang/InterruptedException.java, java/lang/LinkageError.java, java/lang/NegativeArraySizeException.java, java/lang/NoClassDefFoundError.java, java/lang/NoSuchFieldError.java, java/lang/NoSuchFieldException.java, java/lang/NoSuchMethodError.java, java/lang/NoSuchMethodException.java, java/lang/NullPointerException.java, java/lang/NumberFormatException.java, java/lang/OutOfMemoryError.java, java/lang/RuntimeException.java, java/lang/SecurityException.java, java/lang/StackOverflowError.java, java/lang/StringIndexOutOfBoundsException.java, java/lang/ThreadDeath.java, java/lang/UnknownError.java, java/lang/UnsatisfiedLinkError.java, java/lang/UnsupportedOperationException.java, java/lang/VerifyError.java, java/lang/VirtualMachineError.java, java/lang/reflect/InvocationTargetException.java, java/net/BindException.java, java/net/ConnectException.java, java/net/MalformedURLException.java, java/net/NoRouteToHostException.java, java/net/ProtocolException.java, java/net/SocketException.java, java/net/UnknownHostException.java, java/net/UnknownServiceException.java, java/text/ParseException.java: Copied from Classpath, thanks to Mark Wielaard who did the merge. * java/lang/System.java (getProperty): Use single argument form of SecurityManager.checkPropertyAccess. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added VMSecurityManager. * java/lang/VMSecurityManager.java: New file. * java/lang/SecurityManager.java: Merged with Classpath. From-SVN: r45353
2001-07-26Calendar.java (set): Never recompute fields here.Bryce McKinlay1-63/+80
* java/util/Calendar.java (set): Never recompute fields here. They will already be set if someone set time explicitly, and it can cause problems to do so. Don't invalidate AM_PM setting if HOUR is set. * java/util/GregorianCalendar.java (computeTime): Don't ignore an HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is sane. * java/text/SimpleDateFormat.java (defaultCentury): New field. (readObject): Call set2DigitYearStart if appropriate so that defaultCentury is calculated. (SimpleDateFormat): Don't bother clearing calendar here. Call computeCenturyStart(). (set2DigitYearStart): Calculate and set defaultCentury. (format): Don't clone the calendar. Use "calendar" not "theCalendar" everywhere. (parse): Likewise. If the pattern is "y" or "yy" and it found exactly 2 numeric digits, use the 80-20 heuristic to parse the value into a default century based on defaultCenturyStart. (computeCenturyStart): Rewritten. Call set2DigitYearStart(). From-SVN: r44395
2001-05-16SimpleDateFormat.java (parse): Handle non-dst time zones.Tom Tromey1-8/+18
* java/text/SimpleDateFormat.java (parse): Handle non-dst time zones. From-SVN: r42156
2001-05-14SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before ↵Tom Tromey1-2/+4
computing the time. * java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing the time. From-SVN: r42076