Length constructor is incompatible with Java 1.6
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. com.bbn.openmap.proj.Length
2. Length aLength = new Length("meters", "METER", 40075160.0D);
3. used with Java 1.6 64-bit
What is the expected output? What do you see instead?
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/bbn/openmap/util/Debug : Unsupported major.minor version 51.0
What version of the product are you using? On what operating system?
Java 1.6 64-bit, Eclipse, Windows 7
Please provide any additional information below.
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/bbn/openmap/util/Debug : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.bbn.openmap.BasicI18n.get(BasicI18n.java:135)
at com.bbn.openmap.BasicI18n.get(BasicI18n.java:125)
at com.bbn.openmap.BasicI18n.get(BasicI18n.java:121)
at com.bbn.openmap.proj.Length.<init>(Length.java:88)
at com.bbn.openmap.proj.Length.<clinit>(Length.java:39)
The JAR file C:\Program Files\Java\jre6\lib\rt.jar has no source attachment
Original issue reported on code.google.com by igormali...@gmail.com
on 29 Oct 2013 at 2:41
GoogleCodeExporter commented
The change for this is done now.
Original comment by dfdietr...@gmail.com
on 13 Nov 2013 at 3:02
- Changed state: Fixed