Apache OpenOffice (AOO) Bugzilla – Issue 16626
Wont compile with JDK 1.4.2
Last modified: 2013-02-24 21:09:33 UTC
When I use JDK 1.4.2 to compile OpenOffice tag ooo11beta2, I get several subtle error messages. Installation of JDK 1.4.1 solved the problems, so I assume it is JDK 1.4.2 that makes the problems. The obvious compilation problems happen in following projects: 1. setup2/util When compiling setup2/util/setup_services.rdb regcomp program fails with following error message: error (CannotRegisterImplementationException): Could not create Java implementation loader 2. odk\source\OOSupport
2. odk\source\OOSupport When compiling OOSupport, I get following error messages: ... org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() { ^ org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() ^ org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() { ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 3 errors dmake: Error code 129, while making '..\..\wntmsci9.pro\class\oosupport.nbm' ---*RULES.MK*---
Files listed above mention class WizardDescriptor$Panel that should really be WizardDescriptor.Panel . After manual fix, compiltaion continued. I dont know whether the fix worked as I was unable to build OO for other reasons. org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203 org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210 org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217
I confirm the issue. I verified the odk problem with rc2. But this is not a porting issue, but an api/odk or setup2/installation problem. Assigning to api. Please file only one problem per issue.
The Netbeans wizards are not supported currently. I will check whether they are in the build list, and remove them. If you compiled directly in the directories, it might even happen with ALL Java SDK versions.
It doesnt compile on 1.1 RC2 too. I sould be fixed. JDK 1.4.2 is stable. I have problems with /accessibility.\.
For the records, the same issue exist in RC3, with Linux + JDK 1.4.2
As I said, it is NOT really an issue. You are compiling sources which are not in the build list.
> As I said, it is NOT really an issue. You are compiling sources which > are not in the build list. No, that is not true! I took a fresh mws_srx645 checkout and started a "build -all" in instsetoo (with JDK 1.4.2) and it fails. Obviously they are in the build list. See tinderbox for complete log: <http://ooo.ximian.com/tinderbox/gunzip.cgi?tree=mws_srx645&brief-log=1062562796.18036> or here: ------------- /cygdrive/e/w1/mws_srx645/odk/source/OOSupport guw.pl javac -classpath .:../../wntmsci9.pro/class:/cygdrive/c/j2sdk1.4.2/jre/lib/rt.jar:.:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/ridl.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/juh.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jurt.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jarpackager.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/openide.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jakarta-regexp-1.2.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/nbantext.jar:/cygdrive/e/w1/mws_srx645/solver/645/wntmsci9.pro/bin/jhall.jar -d ../../wntmsci9.pro/class org/netbeans/modules/openoffice/InstallationPanel.java org/netbeans/modules/openoffice/OOExtensionFilter.java org/netbeans/modules/openoffice/OOIDLCompiler.java org/netbeans/modules/openoffice/OOIDLCompilerGroup.java org/netbeans/modules/openoffice/OOIDLCompilerType.java org/netbeans/modules/openoffice/OOIDLCompilerTypeBeanInfo.java org/netbeans/modules/openoffice/OOIDLDataLoader.java org/netbeans/modules/openoffice/OOIDLDataObject.java org/netbeans/modules/openoffice/OOIDLGlobalSettings.java org/netbeans/modules/openoffice/OOIDLGlobalSettingsBeanInfo.java org/netbeans/modules/openoffice/OOIDLInstaller.java org/netbeans/modules/openoffice/OOREGCompiler.java org/netbeans/modules/openoffice/OOREGCompilerGroup.java org/netbeans/modules/openoffice/OOREGCompilerType.java org/netbeans/modules/openoffice/OOREGCompilerTypeBeanInfo.java org/netbeans/modules/openoffice/OOTools.java org/netbeans/modules/openoffice/OOURDCleanCompiler.java org/netbeans/modules/openoffice/OOURDCleanCompilerGroup.java org/netbeans/modules/openoffice/OOURDCompiler.java org/netbeans/modules/openoffice/OOURDCompilerGroup.java org/netbeans/modules/openoffice/OOURDCompilerType.java org/netbeans/modules/openoffice/OOURDCompilerTypeBeanInfo.java org/netbeans/modules/openoffice/OOURDDataLoader.java org/netbeans/modules/openoffice/OOURDDataLoaderBeanInfo.java org/netbeans/modules/openoffice/OOURDDataObject.java org/netbeans/modules/openoffice/wizard/IDLInterface.java org/netbeans/modules/openoffice/wizard/IDLMethod.java org/netbeans/modules/openoffice/wizard/IDLParameter.java org/netbeans/modules/openoffice/wizard/OOAddInCreateIterator.java org/netbeans/modules/openoffice/wizard/OOAddinData.java org/netbeans/modules/openoffice/wizard/OOIDLData.java org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java org/netbeans/modules/openoffice/wizard/OOServiceData.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateAliasAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateAttributeAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateConstantAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateConstantsAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateEnumAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateEnumEntryAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateExceptionAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateFwdDclAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateInterfaceAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateModuleAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateOperationAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateServiceAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateStructAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateStructMemberAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionDefaultAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateUnionMemberAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateValueBoxAction.java org/netbeans/modules/openoffice/wizard/actions/idl/CreateValueTypeAction.java org/netbeans/modules/openoffice/wizard/actions/idl/DestroyAction.java org/netbeans/modules/openoffice/wizard/actions/idl/EditAction.java org/netbeans/modules/openoffice/wizard/actions/idl/RenameAction.java org/netbeans/modules/openoffice/wizard/keys/AliasKey.java org/netbeans/modules/openoffice/wizard/keys/AttributeKey.java org/netbeans/modules/openoffice/wizard/keys/BaseKey.java org/netbeans/modules/openoffice/wizard/keys/ConstKey.java org/netbeans/modules/openoffice/wizard/keys/EnumKey.java org/netbeans/modules/openoffice/wizard/keys/ForwardDclKey.java org/netbeans/modules/openoffice/wizard/keys/InterfaceKey.java org/netbeans/modules/openoffice/wizard/keys/NameKey.java org/netbeans/modules/openoffice/wizard/keys/OperationKey.java org/netbeans/modules/openoffice/wizard/keys/StructKey.java org/netbeans/modules/openoffice/wizard/keys/UnionMemberKey.java org/netbeans/modules/openoffice/wizard/keys/ValueFactoryKey.java org/netbeans/modules/openoffice/wizard/keys/ValueKey.java org/netbeans/modules/openoffice/wizard/nodes/AliasNode.java org/netbeans/modules/openoffice/wizard/nodes/AttributeNode.java org/netbeans/modules/openoffice/wizard/nodes/BaseNode.java org/netbeans/modules/openoffice/wizard/nodes/ConstantNode.java org/netbeans/modules/openoffice/wizard/nodes/ConstantsNode.java org/netbeans/modules/openoffice/wizard/nodes/EnumEntryNode.java org/netbeans/modules/openoffice/wizard/nodes/EnumNode.java org/netbeans/modules/openoffice/wizard/nodes/ExceptionNode.java org/netbeans/modules/openoffice/wizard/nodes/ForwardDcl.java org/netbeans/modules/openoffice/wizard/nodes/IDLBaseChildren.java org/netbeans/modules/openoffice/wizard/nodes/IdlFileNode.java org/netbeans/modules/openoffice/wizard/nodes/InterfaceNode.java org/netbeans/modules/openoffice/wizard/nodes/LeafNode.java org/netbeans/modules/openoffice/wizard/nodes/ModuleNode.java org/netbeans/modules/openoffice/wizard/nodes/MovableNode.java org/netbeans/modules/openoffice/wizard/nodes/OperationNode.java org/netbeans/modules/openoffice/wizard/nodes/SENode.java org/netbeans/modules/openoffice/wizard/nodes/ServiceNode.java org/netbeans/modules/openoffice/wizard/nodes/StructMemberNode.java org/netbeans/modules/openoffice/wizard/nodes/StructNode.java org/netbeans/modules/openoffice/wizard/nodes/UnionMemberNode.java org/netbeans/modules/openoffice/wizard/nodes/UnionNode.java org/netbeans/modules/openoffice/wizard/nodes/ValueBoxNode.java org/netbeans/modules/openoffice/wizard/nodes/ValueNode.java org/netbeans/modules/openoffice/wizard/panels/addin/MethodDescriptionPanel.java org/netbeans/modules/openoffice/wizard/panels/service/IDLFilter.java org/netbeans/modules/openoffice/wizard/panels/service/InterfacePickUp.java org/netbeans/modules/openoffice/wizard/panels/service/LanguageSelectionPanel.java org/netbeans/modules/openoffice/wizard/panels/service/NewTypesPanel.java org/netbeans/modules/openoffice/wizard/panels/service/OOInterfacePanel.java org/netbeans/modules/openoffice/wizard/panels/service/OOServiceClassPanel.java org/netbeans/modules/openoffice/wizard/panels/service/ServiceSelectionPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/AliasPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/AttributePanel.java org/netbeans/modules/openoffice/wizard/panels/idl/BasePanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ConstantsPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ConstPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/CreateIDLPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/EnumPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ForwardDclPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/InterfacePanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ModuleCreatePanel.java org/netbeans/modules/openoffice/wizard/panels/idl/OperationPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/UnionMemberPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/UnionPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ValueBoxPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ValueFactoryPanel.java org/netbeans/modules/openoffice/wizard/panels/idl/ValuePanel.java org/netbeans/modules/openoffice/wizard/util/AbstractMoveableNode.java org/netbeans/modules/openoffice/wizard/util/AliasCreator.java org/netbeans/modules/openoffice/wizard/util/AttributeCreator.java org/netbeans/modules/openoffice/wizard/util/ConstantCreator.java org/netbeans/modules/openoffice/wizard/util/ConstantsCreator.java org/netbeans/modules/openoffice/wizard/util/Create.java org/netbeans/modules/openoffice/wizard/util/EditCookie.java org/netbeans/modules/openoffice/wizard/util/EnumCreator.java org/netbeans/modules/openoffice/wizard/util/EnumEntryCreator.java org/netbeans/modules/openoffice/wizard/util/ExceptionCreator.java org/netbeans/modules/openoffice/wizard/util/FwdDclCreator.java org/netbeans/modules/openoffice/wizard/util/InterfaceCreator.java org/netbeans/modules/openoffice/wizard/util/ModuleCreator.java org/netbeans/modules/openoffice/wizard/util/OOIDLParser.java org/netbeans/modules/openoffice/wizard/util/OperationCreator.java org/netbeans/modules/openoffice/wizard/util/ServiceCreator.java org/netbeans/modules/openoffice/wizard/util/StructCreator.java org/netbeans/modules/openoffice/wizard/util/StructMemberCreator.java org/netbeans/modules/openoffice/wizard/util/UnionCreator.java org/netbeans/modules/openoffice/wizard/util/UnionDefaultCreator.java org/netbeans/modules/openoffice/wizard/util/UnionMemberCreator.java org/netbeans/modules/openoffice/wizard/util/ValueBoxCreator.java org/netbeans/modules/openoffice/wizard/util/ValueCreator.java org/netbeans/modules/openoffice/wizard/util/ValueTypeCreator.java MakeModule.java Command: javac org\netbeans\modules\openoffice\wizard\OOAddInCreateIterator.java:203: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() { ^ org\netbeans\modules\openoffice\wizard\OOIDLWizardIterator.java:210: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() ^ org\netbeans\modules\openoffice\wizard\OOServiceCreateIterator.java:217: cannot resolve symbol symbol : class WizardDescriptor$Panel location: package openide perchance you meant 'WizardDescriptor.Panel' public org.openide.WizardDescriptor$Panel current() { ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 3 errors dmake: Error code 1, while making '../../wntmsci9.pro/class/oosupport.nbm' echo: No match. ERROR: Error 65280 occurred while making /cygdrive/e/w1/mws_srx645/odk/source/OOSupport dmake: Error code 1, while making 'build_all' echo: No match.
JSC: the OOsupport module should be removed from the build list because it is not supported at the moment and i can't give any information about the quality of the source code. I will remove it on my cws src680/sdk08.
JSC: assign to me
JSC: fixed in src680 cws sdk08
Pls test as discussed
SG: OOSetup has been removed from build.lst
SG: verified.
*** Issue 14512 has been marked as a duplicate of this issue. ***
Created attachment 10757 [details] Patch that was applied to cws_src680_sdk08
Can this patch please be applied to cws_srx645_ooo111fix1 to get it into the OOo 1.1.x series?
+1 we should IMHO do it
+1 if it is not risky/possible create another bugs to the other area. but for 1.1.1 we still have 1 month to test :) add myself cc
Committed to cws_srx645_ooo111fix1.
Normally I would close this bug, since the fix is integrated into the master on src680. I am a bit confused now. AFAIK, this bug is not part of the ooo111fix1 cws. If something is done on this bug in that cws, it should be added there first, and it should be assigned to the person who fixes. So, who fixes the bug on cws ooo111fix1? I would send the bug to her/him. After the fix I am willing to verify again.
> AFAIK, this bug is not part of the ooo111fix1 cws. It was. odk\source\OOSupport was included in the build list, and this module fails with JDK 1.4.2. > If something is > done on this bug in that cws, it should be added there first, and it > should be assigned to the person who fixes. > So, who fixes the bug on cws ooo111fix1? jsc fixed it on cws_src680_sdk08. I only applied the fix that was used for cws_src680_sdk08 to ...fix1. This was approved by Sander on IRC, cc'ing Sander. > I would send the bug to > her/him. After the fix I am willing to verify again. Send the bug to Jürgen or myself, I already committed the fix, so I'd resolve it fixed immediately, so you can verify it. Volker
reassigned to Volker Quetschke.
The fix is already committed to cws_srx645_ooo111fix1. Nobody complained up to now, but as already mentioned: vq->sg: Please verify ;-) I set the target to 1.1.1 because it is fixed in that version.
I'm building OOo 1.1 on Win 2000, with jdk 1.4.2_03, and the build breaks in setup2/util with regcomp -br ..\wntmsci9.pro\bin\regcomp.rdb \ -register \ -r ..\wntmsci9.pro\bin\setup_services.tmp \ -l com.sun.star.loader.Java2 \ -env:UNO_JAVA_COMPPATH=file:///e:/oo_1.1_src/solver/645/ wntmsci9.pro/bin \ -c vnd.sun.star.expand:$UNO_JAVA_COMPPATH/java_uno_acces sbridge.jar register component 'vnd.sun.star.expand:$UNO_JAVA_COMPPATH/java_uno_accessbridge .jar' in registry '..\wntmsci9.pro\bin\setup_services.tmp' failed! error (CannotRegisterImplementationException): Could not create Java implementat ion loader dmake: Error code 129, while making '..\wntmsci9.pro\bin\setup_services.rdb' I am inferring from this issue that it is because of jdk 1.4.2_03... Is there any way to continue with the build, other than installing jdk 1.4.1? -sgp
.
reassign
checked on SRX645_m45: OOSupport is removed from the odk build list -> closed.