Skip to content

[JENKINS-884] 1.144 feature requires java 6 #185

Description

@jenkins-infra-bot

The improving ant support patch

http://www.nabble.com/Improving-Ant-Support-tf4504289.html

released under 1.144 uses a java 6 feature.

Using the separate text field for entering ant properties causes build to fail
under java 5.

ATAL: java.util.Properties.load(Ljava/io/Reader;)V
java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V
at hudson.tasks.Ant.perform(Ant.java:130)
at hudson.model.Build$RunnerImpl.build(Build.java:143)
at hudson.model.Build$RunnerImpl.doRun(Build.java:123)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181)
at hudson.model.Run.run(Run.java:577)
at hudson.model.Build.run(Build.java:103)
at hudson.model.ResourceController.execute(ResourceController.java:66)
at hudson.model.Executor.run(Executor.java:62)

Properties.load(Reader) was added in java 6.

I got my hudson tests running again by placing the properties back in the
original location prefixed with "-D"


Originally reported by brucechapman, imported from: 1.144 feature requires java 6
  • status: Closed
  • priority: Critical
  • component(s): ant-plugin
  • resolution: Fixed
  • resolved: 2007-10-02T21:05:20+00:00
  • votes: 0
  • watchers: 0
  • imported: 20251216-182730
Raw content of original issue

The improving ant support patch

http://www.nabble.com/Improving-Ant-Support-tf4504289.html

released under 1.144 uses a java 6 feature.

Using the separate text field for entering ant properties causes build to fail under java 5.

ATAL: java.util.Properties.load(Ljava/io/Reader;)V java.lang.NoSuchMethodError: java.util.Properties.load(Ljava/io/Reader;)V at hudson.tasks.Ant.perform(Ant.java:130) at hudson.model.Build$RunnerImpl.build(Build.java:143) at hudson.model.Build$RunnerImpl.doRun(Build.java:123) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:181) at hudson.model.Run.run(Run.java:577) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:62)

Properties.load(Reader) was added in java 6.

I got my hudson tests running again by placing the properties back in the original location prefixed with "-D"

  • environment: Platform: All, OS: All

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions