Software-update: Sun Java 5.0 update 8

java logoSun heeft een nieuwe update klaargezet van zijn platformonafhankelijke objectgeoriënteerde programmeertaal Java, evenals de zogenoemde Runtime Environment om Java-progamma's te kunnen draaien. Het gaat dit keer om update 8 van de 5.0-reeks, die via deze pagina voor Linux, Solaris en Windows gedownload kan worden. Sun brengt Java onder een eigen licentie uit, die hier gelezen kan worden. Update 8 brengt een groot aantal veranderingen met zich mee, welke dat precies zijn kan onderaan deze meukpost gelezen worden:

Changelog
  • hotspot compiler2 5.0u6 assert gcm.cpp:1306 assert(bs->has_valid_counts(), "Bad goto frequency/count
  • hotspot compiler2 CORBA product_rmijrmp_dgc:Test01 fails with exception
  • hotspot compiler2 Bad performance when HotSpot cannot optimize polymorphic calls
  • hotspot compiler2 Occasional performance degradation by factor of 3
  • hotspot compiler2 type profiled inlining should allow method holders to be a superclass
  • hotspot compiler2 BugFixes from Azul Systems
  • hotspot compiler2 Performance slide in cipher micro-benchmark.
  • hotspot garbage_collector pointer_delta not used for pointer diff
  • hotspot garbage_collector intermittent extreme mutator slowdown in jbb runs with ParNew/DefNew
  • hotspot garbage_collector bad performance with big object in heap
  • hotspot jvmti Redefine class can't handle addition of 64 bit constants in JDK1.5.0_04
  • hotspot jvmti constant pool of redefined class should be safe and high-performance -- make it append only
  • hotspot jvmti RedefineClasses() and NativeMethodBind event crash
  • hotspot jvmti class redefinition failed "method deleted"
  • hotspot jvmti assertion failure in ContiguousSpace::block_size after massive number of RedefineClasses
  • hotspot jvmti previously EMCP methods not marked as obsolete
  • hotspot jvmti fix for annotation cache and RedefineClasses() conflict needs HotSpot changes
  • hotspot jvmti crash: redefine classes method order change incomplete
  • hotspot jvmti DisposeEnvironment does not free the tag map table
  • hotspot jvmti potential bug with annotations and class file evolution
  • hotspot jvmti RedefineClasses devours memory
  • hotspot jvmti Redefine crash on lazy NetBeans instrumentation -- upto 4096 redefines on a single class
  • hotspot other Need a way to specify an alternate location for hpi library
  • hotspot other Windows AMD64 Platform SDK build of hotspot with /O2 causes bogus exceptions
  • hotspot other Hotspot Makefile changes for Tiger Windows/AMD64 Apr 2005 PSDK support
  • hotspot runtime_system Classloading failures when LinkageError is rethrown
  • hotspot runtime_system GC time stamps should be relative to the start of the JVM
  • hotspot runtime_system os::write_memory_serialize_page need a explicit handler in thread native transition
  • hotspot runtime_system nsk/jvmti/AddToBootstrapClassLoaderSearch/bootclssearch011 fails
  • hotspot runtime_system JVM abort with Full thread dump by kill -QUIT
  • hotspot runtime_system api/java_lang/instrument/Instrumentation/index.html#Instrumentation with "-server" causes VM crash
  • hotspot runtime_system #NAAM?
  • hotspot runtime_system Use of -XX:+UseBiasedLocking gives an error
  • hotspot runtime_system Due to partial feature #256 code promotion in b51, some tests related to class loading fail
  • hotspot runtime_system Update Hotspot Windows os_win32 for Longhorn
  • hotspot runtime_system Message on UnsatisfiedLinkError is not displayed correctly in Japanese locale
  • java build Linux build does not optimize AWT and other essential libraries
  • java char_encodings RFE: Support for Cp834 in 1.5.0
  • java classes_2d Increase compiler optimisation level for libfontmanager to improve runtime performance
  • java classes_2d Font2DTest.jar is failing for Arabic-Majalla UI on Windows-Vista
  • java classes_2d Rendering issues on Vista caused by use of GDI and DDraw on onscreen surfaces
  • java classes_2d hinting engine is not correctly initialized with Bar39, Bar25i and related fonts
  • java classes_2d shouldn't be possible to force the use of shared memory pixmaps if they're not available
  • java classes_2d CMAP 2 truetype fonts cause crash
  • java classes_2d additional fix for 6255588 - "JDK windows printing implementation leaks GDI objects"
  • java classes_2d Swing applications are blank or blurry when fullscreen-AA is enabled in video card settings
  • java classes_awt REGRESSION: JPopupMenu not Hidden Properly After Iconified and Deiconified
  • java classes_awt PIT: Default cursor is shown but changing when ALT key is down, on win32
  • java classes_awt JVM crash when mouse enter area of a native components embed using JNI
  • java classes_awt Non-Focusble window steals focus from other applications.
  • java classes_awt 1.5.0 Regression: Focus is not changed when tab key is pressed in Automatic Prox
  • java classes_awt Mouse Cursor should be the default cursor when ALT key is pressed, on win32
  • java classes_awt Non-focusable windows steal focus from desktop windows
  • java classes_awt Possible to create an applet window with no applet warning
  • java classes_io File.isFile() should return "false" for "con" on windows platform
  • java classes_io File.length() reports a length of 0 for special files hiberfil.sys and pagefile.sys (win)
  • java classes_lang (ann) java.lang.Class.getAnnotation() cache conflicts with RedefineClasses()
  • java classes_management DOC: fix java.lang.management broken links
  • java classes_math BigDecimal.negate(MathContext) method rounds improperly in some cases
  • java classes_math BigDecimal.add(BigDecimal, MathContext) can return an incorrectly rounded result
  • java classes_math Unchecked scale manipulation in BigDecimal.dropDigits
  • java classes_math BigDecimal.divideToIntegralValue(BigDecimal, MathContext) does not behave to spec
  • java classes_net Support NTLM in HTTP authentication
  • java classes_net HTTP tunnel connections send user headers to proxy
  • java classes_net connect in java/net/PlainSocketImpl.c should handle EALREADY
  • java classes_nio IOException/SIGSEGV occurs during SocketChannel.close processing.
  • java classes_nio (se) Selector fails with invalid argument on Solaris 10
  • java classes_nio (ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails in 5.0u8 and mustang (linux only)
  • java classes_nio (ch) AbstractInterruptibleChannel creates excessive garbage
  • java classes_security JDK on Windows does not wait for preauthorizaion record from Kerberos and causes an error
  • java classes_security KerberosTicket throws exception when authtime field in KrbCredInfo is null
  • java classes_security Add teliasonera root CA certs to the JDK
  • java classes_security DomainComponent is Not IAS5String but PrintableString ( See RFC3280 )
  • java classes_security Add Comodo CA root certs to JDK
  • java classes_sound REGRESSION: playback fails after exiting from thread that has started it (Windows)
  • java classes_sound REGRESSION: Maximum gain value causes sound distortion
  • java classes_swing Last line of a paragraph should not be justified
  • java classes_swing REGRESSION: NullPointerException occurs in getCommittedTextLength method when IME is ON
  • java classes_swing Since 1.5.0_05, interval selection is broken if table's celleditor is not null
  • java classes_swing REGRESSION: JDK 1.5.0_x table cell editor behavior has changed
  • java classes_swing Win L&F: WindowsFileChooserUI broken on Windows Vista Beta 1
  • java classes_swing Call of JProgressBar.getPreferredSize() causes NPE on Windows L&F and custom desktop theme
  • java classes_swing Tree icons are no longer rendered correctly with the windows look and feel
  • java classes_swing Alt-Tab while resizing JInternalFrame results in wrong cursor
  • java classes_swing REGRESSION: Editable JComboBox won't hide popup when tabbing out
  • java classes_swing REGRESSION: WinXP LaF: Disabled JButtons have black border
  • java classes_swing Win L&F: WindowsFileChooserUI Does Not Support Windows 2003, Windows Vista
  • java classes_swing XP L&F does not work on Windows Vista (Longhorn) - needs to use uxtheme api
  • java classes_swing JButton stays pressed when focus stolen
  • java classes_swing javax/swing/JComboBox/4513773/EditableFocusTest.java fails on winxp machine.
  • java classes_util_concurrent CyclicBarrier behaviour incorrect if interruption occurs during barrier "trip"
  • java classes_util_i18n (tz) Support tzdata2006a
  • java classes_util_i18n TimeZone.getDefault() returns different timezones for Windows GMT-12 when DST is checked and not.
  • java classes_util_i18n (tz) java/util/TimeZone/WinTZVM.sh fails on amd64
  • java classes_util_i18n (tz) Support tzdata2006d
  • java classes_util_i18n Make test/java/util/TimeZone/tools/zdump/CheckDisplayNames.java to be a regular test program
  • java classes_util_jarzip GZIPOutputStream is slower on 1.4.2_11-b02 than on 1.4.2_09
  • java classes_util_jarzip GZIPInputStream spuriously reports "Corrupt GZIP trailer" for sizes > 2GB
  • java classes_util_jarzip OutOfMemoryError on ZipFile.open
  • java classes_util_logging deadlock in LogManager
  • java compiler legal cast is rejected
  • java debugger Small JDWP packets with the socket transport causes slow debugging on linux 2.6.15 kernel and newer
  • java imageio Some PNGs fail to load with ImageIO
  • java install using rtpatch flag NOCOMPRESS will reduce each JRE download by 264KB
  • java install Install Status ping not sent if 'Reboot Now' selected
  • java install windows-amd64 should not bundle up the WI2.0 engines
  • java install InstallStats posting is not disabled when post-status in xml file is NULL under one condition
  • java install class data sharing not being used if newer JRE already on machine
  • java install offline wrapper has extraction problem on winME
  • java jconsole MBeans tab: bad parsing of ObjectNames in tree leads to incorrect tree display
  • java localization There is incorrect statement at getSeed() of java.security.SecureRandom in 5.0 API document(jp)
  • java localization Line Feed Code can not be recognized correctly in J2SE 5.0 Doc. page
  • java localization Add Serbia and Montenegro locales
  • java localization wrong translation inhttp://java.sun.com/j2se/1.5.0/ja/docs/ja/api/java/util/LinkedList.html#poll
  • java localization Provide documentation in Chinese
  • java qa_web_eng J2SE 5.0ux Third Party License has very long lines which makes it hard to read
  • java rmi flawed reconnect logic in sun.rmi.transport.DGCClient's makeDirtyCall()
  • java runtime ClassCircularityError thrown without reason during class loading
  • java runtime WIN64: VM should not use Vectored Exceptions
  • java serviceability JAVA_CRW_DEMO: two bugs in demo\jvmti\java_crw_demo\src\java_crw_demo.c
  • java serviceability SA utilities: "get_thread_regs failed for a lwp" from jstack(1)
  • java serviceability JAVA_CRW_DEMO: Check the classfile version number when doing BCI
  • java_deployment compression Pack produces corrupt classes
  • java_deployment update With Java Update, clicking Check Monthly button displays improper message
  • java_deployment update Java AutoUpdate shows corrupted text & randomly crashes sometimes
  • java_deployment update consolidating rtpatch binary resources will save 2.2MB on all JRE download and 9MB on JDK downloads
  • java_plugin iexplorer IE browser hangs when multiple applets are reloaded several times
  • java_plugin iexplorer JRE 1.5.0_06 version not showing up in Regedit for the dynamic classid
  • java_plugin iexplorer IE windows crashed after IE opens and close for 20-30 minute run in 5.0u7-b02
  • java_plugin iexplorer Focus traversal problem with Java Applet on a html page
  • java_plugin misc REGRESSION: Multiple signed applets cause browser to hang
  • java_plugin plugin Excessive LiveConnect calls crash Mozilla Browser (FF 1.5)
  • javawebstart general javaws import feature uses incorrect timestamp for jnlp file
  • javawebstart general RapidUpdateCheck returns completed when resource not there.
  • javawebstart jnlp_api SingleInstanceService broken on unix
  • jaxp sax Identity Transform does not demand namespace-prefixes
  • jgss krb5plugin krb5 shouldn't use an empty salt field in KRB_ERROR
  • jgss krb5plugin sun.security.krb5.internal.ccache.FileCredentialsCache vs multiple cached TGTs
Versienummer 5.0 update 8
Besturingssystemen Windows 9x, Windows NT, Windows 2000, Linux, Windows XP, Linux x86, Solaris, Windows Server 2003, Windows XP x64, Windows Server 2003 x64, Linux AMD64
Website Sun
Download http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jre-1.5.0_08-oth-JPR&SiteId=JSC&TransactionId=noreg
Bestandsgrootte 20,32MB
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Robin Vreuls

Doktersteam

11-08-2006 • 11:21

29

Bron: Sun

Reacties (29)

29
28
9
3
0
19
Wijzig sortering
Wat een aandacht besteden ze nog aan versie 5.0, omdat ik hier al een tijdje draai op Bèta 2 van V. 6.0.

Je zou eigenlijk uit die richting wat nieuws verwachten.
Die Bèta draait overigends zeer goed en soepel/snel.
Omdat in het bedrijfsleven vrijwel nergens Java 6 gebruikt wordt, maar Java 5 (en ook nog een hele hoop Java 1.4, en wie weet nog 1.3).

Je denkt toch niet dat bedrijven, met business critical systemen gaan draaien op een beta versie? Of zelfs niet op een pas uitgekomen 6.0 wat dat betreft.
Idd. Sterker nog: ik ben bij onze klanten nog nooit Java 5 tegengekomen. Ik denk dat bij onze klanten voor 75% Java 1.4 en voor 25% Java 1.3 gebruiken (vooral banken en verzekeraars).

Pas sinds een paar maanden is bij onze laatste klant WebSphere 3.5 met Java 1.2 eruit gegaan en vervangen door WebSphere 5.0 met Java 1.3.

Dus ik verwacht zelf dat wij de komende 4-5 jaar nog wel Java 1.3 zullen ondersteunen. Daarna 4-5 jaar Java 1.4, en daarna kunnen we generics gaan gebruiken :)
Veel problemen die hier gefixt zaten natuurlijk ook in Java 6. Bovendien duurt het nog wel even voordat Java 6 gemeengoed wordt, dus is het maar goed dat ze de problemen in v5 aanpakken.
Denk dat ze voor versie 5 nog wel een behoorlijke tijd met fixes/updates komen. Ik bedoel hoe lang is versie 5 nu eigenlijk definitief (toch ook maar amper een jaar)?
Wat is beter te gebruiken:
Microsoft Virtual Machine of Sun Java?
Aangezien de MS JVM al obsolete software is, en ook nooit Java 5 ondersteund heeft, lijkt het me zinvoller om de Sun implementatie te installeren.
Microsoft Virtual Machine is al een tijd geleden gestopt met updates... Zat op 1.38 oid. Toen der tijd vond ik Sun's Java nog wat traag lopen, maar bij de nieuwe versies is deze snelheid enorm verbeterd, zeker met versie 6 (Deze is idd nog bèta).

Antwoord: Sun's Java
Microsoft is bijna veroordeeld omdat MS jvm niet netjes deed wat het moest doen, maar expres incompatibel was.

Uiteindelijk heeft MS 300 miljoen aan SUN gegeven als schikking samen met de belofte geen JVM meer uit te brengen. (want SUN vertrouwd MS niet meer)

MS was gewoon uit op het stuk maken van Java ten behoefte van dotNET en andere zooi.
Zie o.a. nieuws: Microsoft en Sun bereiken overeenstemming over Java
en alle gerelateerde nieuwsberichten die daar vermeld staan.
MS was er niet op uit om het stuk te maken tengunste van dotNET. Het was de bedoeling om de gedachte van "Code once, run everywhere." om zeep te helpen. Ze probeerden nieuwe dingen in te bouwen die alleen op Windows zouden werken.

Op die manier zou er een Windows Java en een De rest Java ontstaan. Om begrijpelijke redenen was Sun hier niet zo blij mee.

Dit zelfde zie je nu ook bij CSS. Filter:progid:dximagetransform.microsoft.gradient bijvoorbeeld. Het is de bekende copy and extend politiek van Microsoft.
Zorgt deze versie (of Java 6.x) nu eigenlijk eens voor een snelheidsboost ???
Hoe bedoel je 'eindelijk' eens?

Er was al een significante performance boost van 1.4.2 naar 5.

Java 6 komt ook weer met de nodige performance verbeteringen. Ik draai nu beta 2, en hoewel ik nog geen ecpliciete benchmarks heb gedaan, merk ik dat Tomcat met Java 6 een stuk sneller opstart. Normaal (met Java 5) is dat nooit onder de 20 seconden bij mij (in debug mode) en nu met Java 6 beta 2 rond de 12 a 15 seconden.
Hoe zit het nou eigenlijk met versies? Ik daar een beetje van in de war... ik dacht dat we bij versie 1.5 waren en ik gebruik 1.4. Wat is dan versie 5? Hebben ze de '1.' ervan verwijderd of is er meer aan de hand?
Version 5.0 is used in the platform and product names -- the leading "1." was dropped. Where you might have expected to see 1.5.0, it is now 5.0 (and where it was 1.5, it is now 5).
Due to significant popularity within the Java developer community, the development kit has reverted back to the name "JDK" from "Java 2 SDK" (or "J2SDK"), and the runtime environment has reverted back to "JRE" from "J2RE". Notice that "JDK" stands for "J2SE Development Kit". The name "Java Development Kit" has not been used since 1.1, prior to the advent of J2EE and J2ME.

As before, the "2" in Java 2 Platform Standard Edition indicates the 2nd generation Java platform, introduced with J2SE 1.2. This generation number is also used with J2EE and J2ME.
J2SE also keeps the version number 1.5.0 (or 1.5) in some under-the-cover places that are visible only to developers, where the version number is parsed by programs. In these cases, 1.5.0 refers to exactly the same platform and products numbered 5.0.
bron: https://java.sun.com/j2se/j2se-namechange.html
Java 1.2 werd al vanaf het begin "Java 2" genoemd in de volksmond, omdat er inderdaad veel verbeteringen waren. Met Java 1.5 vonden ze dat ze die truuk nog wel weer eens een keertje konden uithalen. De verschillen met 1.4 zijn er natuurlijk, maar ik vind het allemaal niet zo schokkend om er maar gelijk "java 5" van te maken.

Heel vervelend, want aan de developerskant wordt nog heel vaak "1.5" gebruikt.

De versienummering van software vind ik tegenwoordig verre van logisch. Voor kleine wissewasjes gooien ze er een nieuwe major versie tegenaan.
Als alle veranderingen die in Java 1.4 naar 1.5 gedaan zijn geen rechtvaarding zijn voor een nieuw major versie nummer zijn, wanneer ben je dan wel tevreden. :Z
De uitbreidingen waren aanzienlijk:
Generics, enums, autoboxing, varargs, annotations, nieuw for/in statement, static imports, formatting en betere threading.
Het feit dat deze veranderingen bijna allemaal over de syntax van de taal gaan en niet alleen uitbreidingen aan de API zijn, zoals vorige versies, lijkt mij wel meer dan genoeg reden om Java 5 te mogen gaan heten.
Heeft Sun wel vaker last van :-)

Kijk maar naar Solaris, daar zie je ook nog steeds versie 5.10 terwijl het solaris 10 is.

Microsoft doet het trouwens met Windows ook. We zitten nu ook op versie 5.1 van Windows (ookwel XP genoemd).
offtopic:
windows 5.1 is het niet hoor, het is NT5.1, van NT4 naar 2000(NT5) naar XP NT5.1
Update via control panel geeft nog steeds aan dat 1.5 update 6 de laatste versie is. Lopen wij een beetje voor, of loopt een gedeelte van Sun.com achter?
toch vreemd dat als je Sun Java wilt updaten vanuit java zelf (configuratie scherm) 1.5.0.6 de laatste versie blijft en hij niet 1.5.0.8 vind. Versie 1.5.0.7 werd op die manier ook al niet gevonden.
De "java"-site van sun loopt nu wel heel erg achter. Zowel via auto-update als via http://java.com/en/download/index.jsp krijg je nog steeds 1.5.6 aangeboden.

Als je dit soort fixes hebt "hotspot compiler2 Occasional performance degradation by factor of 3" en "java_deployment compression Pack produces corrupt classes" dan wil je toch dat iedereen de laatste versie gebruikt.

En natuurlijk moet je er gewoon voor zorgen dat ALS je een auto-update functie inbouwt deze ook AUTO-Update
Update 7 werd vlak nadat hij uitkwam (begin juni) wel gevonden, maar iets later niet meer.
Dat, samen met de wel HEEL rappe uitrol van 8 doet mij heel donkerbruin vermoeden dat update 7 niet helemaal goed was. :+
voor de amd 64 versie moet je toch een amd 64 cpu hebben?

heb een amd 64 3200+ maar hij zegt ik heb de verkeerde cpu :S

of moet ik daarvoor een 64x win hebben?
Ja daarvoor moet je idd win 64x hebben. Ik heb het draaien en het draait super :)
Bij mij draait het ook super, alleen maakt geen enkele applicatie die ik gezien heb er gebruik van. Ze kunnen allemaal Java niet vinden omdat ze de 32bits versie zoeken.

Java 64bits heb ik al gekicked, nu Win64 bit nog. Nul meerwaarde tot dusver en nog steeds geen Flashplayer in IE-x64.

Op dit item kan niet meer gereageerd worden.