On 20/08/2009, at 7:41 PM, Jeremias Maerki wrote:

There we go again. ;-) I can understand the wishes and cravings of the
developers (feeling them myself), but as I've said before: such a
decision should be made with the user community in the back, i.e. there
should be another user survey to gather current data. Just because Sun
EOLs a Java version doesn't mean that everyone can suddenly just do the switch. So why don't those who want this change so badly do that little
survey so we have the data on an informed decision?

As for retroweaving: I've just set the necessary values in my
build-local.properties and tried to compile the latest FOP Trunk with
Java 1.5. The build failed in the retroweaver task:

-----------------------------------------------------------------------

retro-avail:
   [mkdir] Created dir: C:\Dev\FOP\main\trunk-clean2\build\temp
[retroweaver] Processing 1775 classes
[retroweaver] 1775 classes weaved.
[retroweaver] Verifying 1775 classes
[retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method isLowerCase/(I)Z, The class, net.sourceforge.retroweaver.runtime.java.lang.Character_, c ould not be located: net/sourceforge/retroweaver/runtime/java/lang/ Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method isUpperCase/(I)Z, The class, net.sourceforge.retroweaver.runtime.java.lang.Character_, c ould not be located: net/sourceforge/retroweaver/runtime/java/lang/ Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method isTitleCase/(I)Z, Method not found in java.lang.Character [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toLowerCase/(I)I, Method not found in java.lang.Character [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method getType/(I)I, Method not found in java.lang.Character [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method of/(I)Ljava.lang.Character$UnicodeBlock;, Method not found in java.lang.Character$Unicod
eBlock
[retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toUpperCase/(I)I, Method not found in java.lang.Character [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toTitleCase/(I)I, Method not found in java.lang.Character [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.hyphenation.UnicodeClasses: unknown method toChars/(I)[C, The class, net.sourceforge.retroweaver.harmony.runtime.java.lang.Characte r_, could not be located: net/sourceforge/retroweaver/harmony/ runtime/java/lang/Character_ [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE$EncryptionFilter: unknown class javax.crypto.CipherOutputStream [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown method doFinal/([B)[B, The class, javax.crypto.Cipher, could not be located: javax/crypto/Cipher [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown method getMessage/()Ljava.lang.String;, The class, javax.crypto.IllegalBlockSizeException, could not
be located: javax/crypto/IllegalBlockSizeException
[retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown method getMessage/()Ljava.lang.String;, The class, javax.crypto.BadPaddingException, could not be loc
ated: javax/crypto/BadPaddingException
[retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.Cipher [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.IllegalBlockSizeException [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.BadPaddingException [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.spec.SecretKeySpec [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown method getMessage/()Ljava.lang.String;, The class, javax.crypto.NoSuchPaddingException, could not be
located: javax/crypto/NoSuchPaddingException
[retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.Cipher [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.spec.SecretKeySpec [retroweaver] org.apache.fop.pdf.PDFEncryptionJCE: unknown class javax.crypto.NoSuchPaddingException
[retroweaver] Verification complete, 28 warning(s).

BUILD FAILED
C:\Dev\FOP\main\trunk-clean2\build.xml:519: 28 warning(s)

-----------------------------------------------------------------------

So that seems to indicate that the retroweaver business is not as simple
as it sounds. Furthermore, has anyone done any serious tests in a
non-trivial environment (for example an enterprise-level application
running in an app server)? Maybe one of the stake holders around here
that still need to support a Java 1.4 environment can do such a test and
report back here?

Don't get me wrong: I don't want to block this but I want this done on
an informed basis and with a vote, not just because the developers like
generics. That's reasonable, isn't it?

What makes you think that?

(Sorry - couldn't resist.)

Reply via email to