hengsokchamroeun / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

At least one class in the javapns-jdk15-169.jar has been compiled with Java 6: javapns/data/PayLoad. #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Expected is no error.
Instead I see: 
java.rmi.ServerException: RemoteException occurred in server thread; nested 
exception is: 
    java.rmi.RemoteException: ; nested exception is: 
    java.lang.UnsupportedClassVersionError: (javapns/data/PayLoad) bad major version at offset=6 

What version of the product are you using? On what operating system?
javapns-jdk15-169.jar. Windows XP Pro; Rational App Developer (IBM)

Please provide any additional information below.

Original issue reported on code.google.com by tali...@bellsouth.net on 29 Aug 2011 at 7:56

GoogleCodeExporter commented 8 years ago
will investigate

Original comment by idbill.p...@gmail.com on 30 Aug 2011 at 7:58

GoogleCodeExporter commented 8 years ago
talicea, if you have a chance to upgrade to javapns 2.0, it should be fully 
compiled with Java 5..   
Could you confirm is that fixes the issue for you?  Thank you!

Original comment by sype...@gmail.com on 7 Sep 2011 at 4:43

GoogleCodeExporter commented 8 years ago
I downloaded javapns-jdk15-169.jar today from the Downloads page, decompressed 
the jar file and ran the javap utility on PayLoad.  The output confirms that 
the class was compiled with Java 5.  Is it possible that you have the jdk6 
version of the library somewhere in your classpath on either side of your RMI 
system?

Since javap confirms the class is compiled with Java 5, I am closing the issue 
as Invalid.

---------------------------
TEST:  javap -verbose PayLoad

RESULT:
public class javapns.data.PayLoad extends java.lang.Object
  minor version: 0
  major version: 50

Original comment by sype...@gmail.com on 22 Sep 2011 at 7:09