I tried adapting the code to work with JDK 1.5

It builds with Sun JDK 1.5 but with kFreeBSD + gcj, it is failing, it
says the compile was OK but it fails to find things in the classpath

Are there known issues with mh builds on this platform or with gcj or is
this the first time something like this has been seen?


https://buildd.debian.org/status/fetch.php?pkg=libphonenumber&arch=kfreebsd-i386&ver=6.3~svn698-3&stamp=1409724001

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
org.apache.maven.surefire.util.SurefireReflectionException: 
java.lang.reflect.InvocationTargetException; nested exception is 
java.lang.reflect.InvocationTargetException: null
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.15)
   at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
   at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
   at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
   at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
   at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
Caused by: org.apache.maven.surefire.util.NestedRuntimeException: Unable to 
create test class 'com.google.i18n.phonenumbers.BuildMetadataFromXmlTest'; 
nested exception is java.lang.ClassNotFoundException: 
com.google.i18n.phonenumbers.BuildMetadataFromXmlTest not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/«PKGBUILDDIR»/tools/java/common/target/surefire/surefirebooterb8dtqr.jar],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at 
org.apache.maven.surefire.util.DefaultDirectoryScanner.loadClass(DefaultDirectoryScanner.java:102)
   at 
org.apache.maven.surefire.util.DefaultDirectoryScanner.locateTestClasses(DefaultDirectoryScanner.java:78)
   at 
org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:174)
   at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:83)
   at java.lang.reflect.Method.invoke(libgcj.so.15)
   ...5 more
Caused by: java.lang.ClassNotFoundException: 
com.google.i18n.phonenumbers.BuildMetadataFromXmlTest not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file:/«PKGBUILDDIR»/tools/java/common/target/surefire/surefirebooterb8dtqr.jar],
 parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.15)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.15)
   at java.lang.ClassLoader.loadClass(libgcj.so.15)
   at java.lang.ClassLoader.loadClass(libgcj.so.15)
   at 
org.apache.maven.surefire.util.DefaultDirectoryScanner.loadClass(DefaultDirectoryScanner.java:98)
   ...9 more



-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5406b956.6040...@pocock.pro

Reply via email to