Using vt-dictionary and vt-password libraries with JDK 1.5

65 views
Skip to first unread message

Singh

unread,
May 10, 2011, 6:05:39 AM5/10/11
to vt-middleware-users
I need to use these libraries with the JDK 1.5. The versions are only
compatible with 1.6. Can anyone recommend me what I would need to do
to retfofit these libraries for Java 1.5.

Many thanks

Daniel Fisher

unread,
May 10, 2011, 10:07:52 AM5/10/11
to vt-middle...@googlegroups.com
Change the <source/> and <target/> values in the poms to 1.5.

For vt-dictionary, you'll have to revert the use of TreeMap#floorKey()
in FileWordList.
See: http://code.google.com/p/vt-middleware/source/diff?spec=svn1690&r=1690&format=side&path=/vt-dictionary/trunk/src/main/java/edu/vt/middleware/dictionary/FileWordList.java

For vt-password, you'll have to remove the @Override annotations from
methods overriding an interface.

There may also be a retroweaver-like tool available for converting 1.6
binaries for use with 1.5, but I'm not aware of one.

--Daniel Fisher

sujay nair

unread,
Aug 22, 2015, 7:49:21 PM8/22/15
to vt-middleware-users
How should i go about decompiling the jar and then building the jars again?
Reply all
Reply to author
Forward
0 new messages