Closed GoogleCodeExporter closed 9 years ago
Made the follwing simple change to the if-clause and after that the problem
disappeared.
if (subPackageName.startsWith(packageName + ".") && !packageName.equals(subPackageName))
I will try to make a patch for this and add this to the project later this week.
Original comment by LHCper
on 15 Jan 2013 at 9:48
This is a very interesting issue, and appears to be something related to the
underlying jvm.
I saw something similar a while back that I was unable to reproduce reliably
when package names started with capital letters and I was wondering if "onfig"
is a package sub from com.ericsson.tt.uecontrol.uehandler or was it defined as
"Config"?
Original comment by oshou...@gmail.com
on 18 Jan 2013 at 5:30
also can you let me know what version of the JVM are you using when it fails,
and which version of the JVM does Jenkins use?
Original comment by oshou...@gmail.com
on 18 Jan 2013 at 5:31
My observation about Jenkins was incorrect - it was not run at all.
The package name that caused the problem was probably
com.ericsson.tt.uecontrol.uehandlerconfig
There is a package called com.ericsson.tt.uecontrol.uehandler which is the one
subpackages are looked for. So it seems it thinks that
com.ericsson.tt.uecontrol.uehandlerconfig is a subpackage to
com.ericsson.tt.uecontrol.uehandler as it starts with this. It does skip next
character and use the rest ("onfig") as a package name...
The JDK version used to build and execute this (under Vista) is
jdk1.7.0_09. Have not tried other versions. (And we use Java 7 functionality
so I have not tried older versions.)
I think that this is not connected to which version you use, but an effect of
the names used for the packages. (i.e. bad luck)
Comment #1 shows a suggested change that will fix the problem.
We have patched our 0.4.2 version of POJO which we have uploaded in our local
Nexus. It seems to work fine.
Original comment by LHCper
on 22 Jan 2013 at 11:53
Awesome find, thank you for logging the issue, next release will incorporate
the fix for this.
Original comment by oshou...@gmail.com
on 25 Jan 2013 at 9:19
Original comment by oshou...@gmail.com
on 25 Jan 2013 at 9:19
Fixed and will be part of release 0.4.3.
Original comment by oshou...@gmail.com
on 11 Feb 2013 at 3:25
Original issue reported on code.google.com by
LHCper
on 15 Jan 2013 at 8:55